'plot.lmInt' adds confidence and/or prediction intervals to an existing plot depicting a simple univariate linear model. The intervals are computed using the 'lmInt' function.

# S3 method for lmInt
plot(x, xx = colnames(x)[1], fit = FALSE, cia = FALSE,
    cif = FALSE, pi = FALSE, band = FALSE, ...)

Arguments

x

an object of class 'lmInt'

xx

the name of dependent variable to plot against

fit

plot the fitted regression line?

cia

plot confidence intervals around the regression line? (See 'lmInt' for explanation.)

cif

plot confidence intervals for the regression line? (See 'lmInt' for explanation.)

pi

plot prediction intervals? (See 'lmInt' for explanation.)

band

draw polygonal confidence bands instead of simple lines?

...

additional arguments to be passed to the 'lines' function used to plot the lines

See also

'lmInt'

Examples

# see lmInt