View source: R/ols-model-info.R
| ols_get_intercept | R Documentation |
Returns the value of the model intercept.
ols_get_intercept(model)
model |
An object of class |
The value of the intercept.
model <- lm(mpg ~ wt + cyl + hp + disp + gear + drat, data = mtcars)
ols_get_intercept(model)
model <- lm(mpg ~ 0 + wt + cyl + hp + disp, data = mtcars)
ols_get_intercept(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.