xyplot is used.## S3 method for class 'nfnGroupedData':
plot(x, outer, inner, innerGroups, xlab, ylab, strip, aspect, panel,
key, grid, \dots)nfnGroupedData,
representing a groupedData object with a numeric primary
covariate and a single grouping level.TRUE, attr(object, "outer") is used to
TRUE, attr(object, "inner")inner
covariate. Different colors, or line types, are used for each level
of the innerGroups factor. Default is NULLattr(object,
"labels") and attr(object, "units") pasted together.strip argument to
the xyplot function. Default is strip.default(..., style
= 1) (see trellis.args).aspect argument to the
xyplot function. Default is "xy" (see
trellis.args).panel argument
to the xyplot function.TRUE
and innerGroups is non-NULL, a legend for the
different innerGroups levels is included at the top of the
plot. If given as a function, it is pasTRUE.xyplot function.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, xyplot# different panels per Subject
plot(Orthodont)
# different panels per gender
plot(Orthodont, outer = TRUE)Run the code above in your browser using DataLab