mfasiolo / qgam

Additive quantile regression R package
http://mfasiolo.github.io/qgam/
30 stars 7 forks source link

qgam() gives error if only parametric terms included in the model #18

Closed mfasiolo closed 8 years ago

mfasiolo commented 8 years ago

This code gives and error

`x <- rnorm(1e2) y <- x^2 + rnorm(1e2) qgam(y~x, qu = 0.5, data = data.frame("x" = x, "y" = y))

Error in if (sum(fix.ind)) { : argument is not interpretable as logical `

mfasiolo commented 8 years ago

Fixed here 157a77d801f29fd0a836bb4dbb4a8f8e5d9e2175