Description Usage Arguments Value Examples
This function fits a linear model for the given data using the given formula.
1 |
data |
a data frame with named columns |
formula |
a formula object specifying which columns of the data frame to use in the model |
table with the coefficients, standard errors, t values, and p values of each term in the coefficient.
1 2 | data(my_gapminder)
my_lm(my_gapminder, lifeExp ~ gdpPercap)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.