mfasiolo / qgam

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

Error when fitting qgam with only intercept included #34

Open mfasiolo opened 4 years ago

mfasiolo commented 4 years ago

This triggers an error:

set.seed(5125)
library(qgam)
x<-runif(100)
y<-x+rnorm(100)

qgam(y~1,data=data.frame(x=x,y=y),qu=0.1)