A single or multiple (depending on level and id) plot showing the fitted segmented profiles.
Details
The function plots the 'subject'-specific segmented profiles for the 'subjects' specificed in id or, if level=0, the fitted segmented relationship based on fixed effects only. The number of panels to drawn is actually the minimum between length(id) and prod(n.plot), but if n.plot=c(1,1) (or also simply n.plot=1), the `individual' profiles will be pictured on the same panel.
if (FALSE) {
#continues example from segmented.lmeplot(os, yscale=-1) #different y-scalesplot(os2, n.plot=1, l.col=2:6, l.lwd=2) #all segmented profiles on the same plot
}