ciReg | R Documentation |
Calculates and prints the confidence intervals for the fitted model.
ciReg(fit, conf.level = 0.95, print.out = TRUE)
fit |
an object of classlm, i.e. the output from |
conf.level |
confidence level of the intervals. |
print.out |
if |
The function returns a two-column matrix containing the upper and lower endpoints of the intervals.
lm
, summary
, anova
.
##Peruvian Indians data
data(peru.df)
fit=lm(BP ~ age + years + weight + height, data = peru.df)
ciReg(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.