groupedData object is summarized by the values of the
displayLevel grouping factor (or the combination of its values
and the values of the covariate indicated in preserve, if any is
present). The collapsed data is used to produce a new
groupedData object, with grouping factor given by the
displayLevel factor, which is plotted using the
appropriate plot method for groupedData objects with
single level of grouping.## S3 method for class 'nmGroupedData':
plot(x, collapseLevel, displayLevel, outer, inner,
preserve, FUN, subset, key, grid, \dots)nmGroupedData,
representing a groupedData object with multiple grouping
factors.outer is missing. Default is
collapseLevel.displayLevel
grouping factor, which are used to determine the panels of the
Trellis plot. If equal to TRUE, the displayLevdisplayLevel grouping factor,
which is used to associate points within each panel of the Trellis
plot. If equal to TRUE, acollapseLevel grouping factor. The collapsing factor is
obtained by pasting together the levels of the object that vary within the
groups defined by collapseLevel. InTRUE, a legend
is included at the top of the plot indicating which symbols (colors)
correspond to which prediction levels. If FALSE, no legend
is included. If given as a list, TRUE.collapseLevel grouping factor and grouped according to the
displayLevel grouping factor.Pinheiro, J.C. and Bates, D.M. (1997) "Future Directions in
Mixed-Effects Software: Design of NLME 3.0" available at
groupedData, collapse.groupedData,
plot.nfnGroupedData, plot.nffGroupedData# no collapsing, panels by Dog
plot(Pixel, display = "Dog", inner = ~Side)
# collapsing by Dog, preserving day
plot(Pixel, collapse = "Dog", preserve = ~day)Run the code above in your browser using DataLab