pB | R Documentation |
It plots bands of the confidence interval and prediction interval for simple linear regression.
pB(Formula, Data, Resol=300, conf.level=0.95, lx, ly, ...)
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 |
It plots. Discard return values. If lx
or ly
is missing, the legend position is calculated automatically.
Ignore return values.
Kyun-Seop Bae k@acr.kr
pB(hp ~ disp, mtcars)
pB(mpg ~ disp, mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.