plot.augPred | R Documentation |
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.
## S3 method for class 'augPred'
plot(x, key, grid, ...)
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 |
A Trellis plot of predictions versus the primary covariate, with panels determined by the grouping factor.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
augPred
, xyplot
fm1 <- lme(Orthodont)
plot(augPred(fm1, level = 0:1, length.out = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.