plot.intervals.lmList | R Documentation |
A Trellis dot-plot of the confidence intervals on the linear model
coefficients is generated, with a different panel for each
coefficient. Rows in the dot-plot correspond to the names of the
lm
components of the lmList
object used to produce
x
. The lower and upper confidence limits are connected by
a line segment and the estimated coefficients are marked with a
"+"
.
This is based on function dotplot()
from
package lattice.
## S3 method for class 'intervals.lmList'
plot(x, xlab = "", ylab = attr(x, "groupsName"),
strip = function(...) strip.default(..., style = 1),
...)
x |
an object inheriting from class |
xlab, ylab |
axis labels, each with a sensible default. |
strip |
a |
... |
optional arguments passed to the |
a Trellis plot with the confidence intervals on the coefficients of
the individual lm
components of the lmList
that
generated x
.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
intervals.lmList
,
lmList
,
dotplot
fm1 <- lmList(distance ~ age | Subject, Orthodont)
plot(intervals(fm1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.