Description Usage Arguments Value Examples
This function will fit a linear model.
1 | linear_model(form, d, contrasts = NULL)
|
form |
A formula specifying the model. |
d |
A dataframe. |
contrasts |
A list specifying the contrasts. The default is NULL. |
A list with fitted coefficients.
1 | linear_model(Sepal.Length~.,iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.