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, \dots)
an optional logical value, or list. If TRUE, a legend
is included at the top of the plot indicating which symbols (colors)
correspond to which prediction levels. If FALSE, no legend
is included. If given as a list, key
grid
an optional logical value indicating whether a grid should
be added to plot. Default is FALSE.
...
optional arguments passed down to the trellis
function generating the plots.
Value
A Trellis plot of predictions versus the primary covariate, with panels
determined by the grouping factor.