lr0 | R Documentation |
Usually, the first step to multiple linear regression is simple linear regressions with a single independent variable.
lr0(Formula, Data)
Formula |
a conventional formula for a linear model. Intercept will always be added. |
Data |
a |
It performs simple linear regression for each independent variable.
Each row means one simple linear regression with that row name as the only independent variable.
Intercept |
estimate of the intecept |
SE(Intercept) |
standard error of the intercept |
Slope |
estimate of the slope |
SE(Slope) |
standard error of the slope |
Rsq |
R-squared for the simple linear model |
Pr(>F) |
p-value of slope or the model |
Kyun-Seop Bae k@acr.kr
lr0(uptake ~ Plant + Type + Treatment + conc, CO2)
lr0(mpg ~ ., mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.