'plot.lmIntXY' 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 lmIntXY
plot(x, fit = FALSE, cia = FALSE, cif = FALSE, pi = FALSE,
    ...)

Arguments

x

an object of class 'lmIntXY'

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

...

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

Note

deprecated, use 'lmInt' and 'plot.lmInt' instead

See also

'lmIntXY'

Examples

# see lmIntXY