Description Usage Arguments Value Examples
This function calculates a linear regression model for given data.
1 |
formula |
A formula object with the linear regression equation to be
calculated from data set |
data |
A data frame containing the data to be modeled. |
A table with coefficient estimates and standard errors for each
variable specified by formula
in the linear model as well as
t-values and p-values for two-sided t-tests performed on each coefficient
estimate.
1 | my_lm(lifeExp ~ gdpPercap, data = my_gapminder)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.