Description Usage Arguments Value Examples
This function fits a linear model to R.
1 |
formula |
A formula class object, similar to lm(). |
data |
An input data frame. |
A fitted linear model.
1 2 3 4 | data(my_gapminder)
gapminderLm <- lm(pop ~ gdpPercap, data = my_gapminder)
summary(gapminderLm)
my_lm(gapminderLm, data = my_gapminder)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.