Description Usage Arguments Value Examples
This function is used to fit a linear model to imput data.
1 |
formula |
Numeric input of a formula a symbolic description of the model to be fitted. |
data |
Dataframe containing the data to be used used in |
Table object containing numeric estimates for coefficients, standard error, t value, and p value. With a line for each explanatory variables plus the intercept.
1 2 | my_lm(lifeExp~ gdpPercap + continent, my_gapminder)
my_lm(Sepal.Length ~ Sepal.Width + Petal.Length + Petal.Width , my_iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.