Plot augPred Object

Usage

plot(x, key=T, ...)

Arguments

x an object of class augPred.
key 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 is passed down as an argument to the trellis function generating the plots (xyplot). Defaults to TRUE.
... optional arguments passed down to the trellis function generating the plots.

Description

A Trellis xyplot of predictions versus 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.

Value

A Trellis plot of predictions versus primary covariate, with panels determined by the grouping factor.

Author(s)

Jose Pinheiro and Douglas Bates

See Also

augPred, xyplot

Examples

library(lme)
data(Orthodont)
fm1 <- lme(Orthodont)
plot(augPred(fm1, level = 0:1, length.out = 2))


[Package Contents]