plot.lmInt | R Documentation |
'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 class 'lmInt'
plot(x, xx = colnames(x)[1],
fit = FALSE, cia = FALSE,
cif = FALSE, pi = FALSE,
band = FALSE, ...)
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 |
Tomas Sieger
'lmInt'
# see lmInt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.