show confidence and prediction bands on plots
panel.lmbands(
x,
y,
interval = "confidence",
level = 0.95,
model = lm(y ~ x),
band.col = c(conf = slcol[3], pred = slcol[2]),
band.lty = c(conf = slty[3], pred = slty[2]),
band.show = TRUE,
fit.show = TRUE,
band.alpha = 0.6,
band.lwd = 1,
npts = 100,
...
)
numeric vectors
a vector subset of 'confidence'
and 'prediction'
confidence level
model to be used for generating bands
a vector of length 1 or 2 giving the color of bands
a vector of length 1 or 2 giving the line type for bands
logical vector of length 1 or 2 indicating whether confidence and prediction bands should be shown
logical indicating whether the model fit should be shown
a vector of length 1 or 2 alpha level for bands
a vector of length 1 or 2 giving line width for bands
resolution parameter for bands (increase to get better resolution)
additional arguments