plotSmeRaw: Visualisation of raw data for a smoothing-splines mixed-effects model
Description
A visualisation of the raw data used to fit the smoothing-splines mixed-effects model is obtained.
This is presented as a trellis plot where each panel shows the observations for one of the
subjects as a scatter plot (with optional lines connecting the observations if showRawLines
is TRUE). If showModelFits is TRUE, then these observations are overlaid
with the fitted individual curve for that subject.
# NOT RUN { data(MTB)
fit <- sme(MTB[MTB$variable==6031,c("y","tme","ind")])
plotSmeRaw(fit,showModelFits=FALSE)
plotSmeRaw(fit,showModelFits=FALSE,showRawLines=TRUE)
plotSmeRaw(fit)
# }