Description Usage Arguments Value Examples
Compute a linear regression.
1 | linear_model(form, dat, contrasts = NULL)
|
form |
A formula with the format of "Y ~ ." |
dat |
A dataframe. |
contrasts |
A list of contrasts. |
A list of coefficients from an linear regression model.
1 | linear_model(Sepal.Length ~ ., iris, contrasts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.