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,
...
)

## Arguments

x, y

numeric vectors

interval

a vector subset of 'confidence' and 'prediction'

level

confidence level

model

model to be used for generating bands

band.col

a vector of length 1 or 2 giving the color of bands

band.lty

a vector of length 1 or 2 giving the line type for bands

band.show

logical vector of length 1 or 2 indicating whether confidence and prediction bands should be shown

fit.show

logical indicating whether the model fit should be shown

band.alpha

a vector of length 1 or 2 alpha level for bands

band.lwd

a vector of length 1 or 2 giving line width for bands

npts

resolution parameter for bands (increase to get better resolution)

...