pB {sasLM} | R Documentation |
Plot Confidence and Prediction Bands for Simple Linear Regression
Description
It plots bands of the confidence interval and prediction interval for simple linear regression.
Usage
pB(Formula, Data, Resol=300, conf.level=0.95, lx, ly, ...)
Arguments
Formula |
a formula |
Data |
a data.frame |
Resol |
resolution for the output |
conf.level |
confidence level |
lx |
x position of legend |
ly |
y position of legend |
... |
arguments to be passed to |
Details
It plots. Discard return values. If lx
or ly
is missing, the legend position is calculated automatically.
Value
Ignore return values.
Author(s)
Kyun-Seop Bae k@acr.kr
Examples
pB(hp ~ disp, mtcars)
pB(mpg ~ disp, mtcars)
[Package sasLM version 0.10.4 Index]