| 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 |
Resol |
resolution for the output |
conf.level |
confidence level |
lx |
x position of the legend |
ly |
y position of the legend |
... |
arguments to be passed to |
It plots. Discard the return values. If lx or ly is missing, the legend position is calculated automatically.
Ignore the 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.