Description Usage Arguments Value Examples
This function can fit a linear model in R.
1 |
formula |
a |
data |
input data frame. |
A table with rows for each coefficient (including the (Intercept)!) and columns for the Estimate, Std. Error, t value, and Pr(>|t|).
1 2 3 4 | lifeExp <- my_gapminder$lifeExp
gdpPercap <- my_gapminder$gdpPercap
continent <- my_gapminder$continent
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.