Description Usage Arguments Value Examples
This function performs multiple regression using a given formula and dataset.
1 |
formula |
An object of class 'formula', which represents the
overall relationship between our predictor variable(s) from |
data |
An input data frame from which |
A 'table' with rows for the coefficients of each predictor variable (including the intercept) and columns for their estimated value, standard error, t-value, and p-value ('Estimate', 'Std. Error', 't value', and 'Pr(>|t|)' respectively).
1 2 | my_lm(Sepal.Length ~ Sepal.Width + Petal.Length + Petal.Width, my_iris)
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.