plot.nffGroupedData | R Documentation |
A Trellis dot-plot of the response by group is generated. If outer
variables are specified, the combination of their levels are used to
determine the panels of the Trellis display. The Trellis function
dotplot
is used.
## S3 method for class 'nffGroupedData'
plot(x, outer, inner, innerGroups, xlab, ylab, strip, panel, key,
grid, ...)
x |
an object inheriting from class |
outer |
an optional logical value or one-sided formula,
indicating covariates that are outer to the grouping factor, which
are used to determine the panels of the Trellis plot. If
equal to |
inner |
an optional logical value or one-sided formula, indicating
a covariate that is inner to the grouping factor, which is used to
associate points within each panel of the Trellis plot. If
equal to |
innerGroups |
an optional one-sided formula specifying a factor
to be used for grouping the levels of the |
xlab |
an optional character string with the label for the
horizontal axis. Default is the |
ylab |
an optional character string with the label for the vertical axis. Default is the grouping factor name. |
strip |
an optional function passed as the |
panel |
an optional function used to generate the individual
panels in the Trellis display, passed as the |
key |
an optional logical function or function. If |
grid |
this argument is included for consistency with the
|
... |
optional arguments passed to the |
a Trellis dot-plot of the response by group.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
Bates, D.M. and Pinheiro, J.C. (1997), "Software Design for Longitudinal Data", in "Modelling Longitudinal and Spatially Correlated Data: Methods, Applications and Future Directions", T.G. Gregoire (ed.), Springer-Verlag, New York.
groupedData
, dotplot
plot(Machines)
plot(Machines, inner = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.