View source: R/get_intercept.R
get_intercept | R Documentation |
Returns the value at the intercept (i.e., the intercept
parameter), and NA
if there isn't one.
get_intercept(x, ...)
x |
A model. |
... |
Not used. |
The value of the intercept.
get_intercept(lm(Sepal.Length ~ Petal.Width, data = iris))
get_intercept(lm(Sepal.Length ~ 0 + Petal.Width, data = iris))
get_intercept(lme4::lmer(Sepal.Length ~ Sepal.Width + (1 | Species), data = iris))
get_intercept(gamm4::gamm4(Sepal.Length ~ s(Petal.Width), data = iris))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.