plot.lmIntXY: Plot confidence and prediction intervals for regression.

plot.lmIntXYR Documentation

Plot confidence and prediction intervals for regression.

Description

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

Usage

## S3 method for class '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

Author(s)

Tomas Sieger

See Also

'lmIntXY'

Examples

# see lmIntXY

tsieger/tsiMisc documentation built on Oct. 10, 2023, 10:24 p.m.