Description Usage Arguments Value Examples
This function applies a linear model to a set of data, and returns the results.
1 |
formula |
A formula specifying which variable is being predicted by which other variables. |
data |
A set of data from which the model will be built. |
A table displaying the linear coefficients, the standard error of those coefficients, the t-value, and the p-value for each variable.
1 | 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.