Description Usage Arguments Value Examples
This function is used to fit data to a linear model
1 |
formula |
Formula class object that indicates which classes from the data to use as for the y-variable and which to use for for the x-variable |
data |
Data frame to build a linear model for |
Table that reports the estimate, standard error, t-value, and probability > t for each coefficient, including the intercept
1 2 | my_lm(lifeExp ~ gdpPercap, my_gapminder)
my_lm(lifeExp ~ gdpPercap + continent, my_gapminder)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.