Last chance! 50% off unlimited learning
Sale ends in
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, ...)
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
data(Pixel)
# 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