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.plot(x, collapseLevel, displayLevel, outer, inner, preserve, FUN,
subset, grid, ...)
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 displayLev
displayLevel
grouping factor,
which is used to associate points within each panel of the Trellis
plot. If equal to TRUE
, a
collapseLevel
grouping factor. The collapsing factor is
obtained by pasting together the levels of the object
that vary within the
groups defined by collapseLevel
. InTRUE
.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 http://franz.stat.wisc.edu/pub/NLME.
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 DataCamp Workspace