linear_model {structToolbox} | R Documentation |
Wrapper for R lm. See lm
for details.
linear_model(formula, na_action = "na.omit", contrasts = list(), ...)
formula |
The formula to use. |
na_action |
The action to take when missing values are present. Can any one of 'na.omit','na.fail','na.exclude' or 'na.pass'. Default is 'na.omit'. |
contrasts |
The contrasts for this model. If zero length then the default contrasts are used. |
... |
additional slots and values passed to struct_class |
struct object
D = iris_DatasetExperiment() M = linear_model(formula = y~Species)