Last chance! 50% off unlimited learning
Sale ends in
cdf.lmscreg(object, newdata = NULL, ...)
cdf.lms.yjn
.newdata
.
For example, a value near 0.75 means it is close to the upper quartile
of the distribution.Documentation accompanying the
deplot.lmscreg
,
qtplot.lmscreg
,
lms.bcn
,
lms.bcg
,
lms.yjn
.fit = vgam(BMI ~ s(age, df=c(4,2)), fam=lms.bcn(zero=1), data=bminz)
head(fit@post$cdf)
head(cdf(fit)) # Same
head(fit@y)
head(fitted(fit))
cdf(fit, data.frame(age=c(31.5,39), BMI=c(28.4,24)))
Run the code above in your browser using DataLab