plotSmeModel: Visualisation of a fitted smoothing-splines mixed-effects model
Description
The observations used to fit the given smoothing-splines mixed-effects model are shown as a
scatter plot and the fitted mean curve is overlaid. Optionally, the fitted individual curves are
also shown. Also, the 95% confidence band for the fitted mean curve can optionally be displayed.
# NOT RUN { data(MTB)
fit <- sme(MTB[MTB$variable==6031,c("y","tme","ind")])
plotSmeModel(fit,showIndividuals=FALSE)
plotSmeModel(fit,showConfidenceBands=TRUE)
# }