S-plus provides Trellis Graphics: a powerful tool for plotting complex data sets which can be applied to longitudinal data. To make use of this facility, the data must be stored in data frame format (so ldframe objects work without modification) so that the standard Trellis functions may be used to display longitudinal data. For example, we may wish to plot the milk data for each group, adding a loess curve (as shown in Figure 6):
OSWALD provides an additional Trellis function specifically for
plotting longitudinal data. ldaplot creates a similar plot to
plot.ldframe with differing line styles between groups and
shadows (if the p argument is less than 1). It does not,
however, highlight missing values or dropout like plot.ldframe.
For example, the following two statements produce similar plots:
The reader is referred to Becker & Cleveland (1996) for further information.