Description Usage Arguments Value Examples
This function creates a linear regression model based on a given relation for a given data set.
1 |
formula |
Formula of proposed relation of data. |
data |
Data on which regression model is to be formed. |
Data frame containing numeric values of linear model coefficients, standard errors, t-values, and p-values
1 2 | my_lm(lifeExp ~ gdpPercap + continent, my_gapminder)
my_lm(Sepal.Length ~ Sepal.Width, my_iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.