plot.augPred
Plot an augPred Object
Description
A Trellis xyplot
of predictions versus the primary covariate is generated, with a different panel for each value of the grouping factor. Predicted values are joined by lines, with different line types (colors) being used for each level of grouping. Original observations are represented by circles.
Usage
## S3 method for class 'augPred' plot(x, key, grid, ...)
Arguments
x | an object of class |
key | an optional logical value, or list. If |
grid | an optional logical value indicating whether a grid should be added to plot. Default is |
... | optional arguments passed down to the |
Value
A Trellis plot of predictions versus the primary covariate, with panels determined by the grouping factor.
Author(s)
José Pinheiro and Douglas Bates [email protected]
See Also
Examples
fm1 <- lme(Orthodont) plot(augPred(fm1, level = 0:1, length.out = 2))
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.