Description Usage Arguments Details Value References Examples
View source: R/linear_model_class.R
Linear models can be used to carry out regression, single stratum analysis of variance and analysis of covariance.
1 | linear_model(formula, na_action = "na.omit", contrasts = list(), ...)
|
formula |
(formula) A symbolic description of the model to be fitted. |
na_action |
(character) NA action. Allowed values are limited to the following:
The default is |
contrasts |
(list) The contrasts associated with a factor. The default is |
... |
Additional slots and values passed to |
This object makes use of functionality from the following packages:
stats
A linear_model
object.
R Core Team (2020). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/.
1 2 | D = iris_DatasetExperiment()
M = linear_model(formula = y~Species)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.