Description Usage Arguments Value Examples
Model update operator. It functions in place of the model update function. In the context of in this part of the formula<e2><80><99>.
1 | original_formula %~% addition
|
original_formula |
the original formula to use. |
addition |
Additions / removals / changes to the formula. |
Updated formula.
1 2 3 4 5 6 7 | ## Add Sepal.Width to model2.
model <- setosa ~ Sepal.Length
## Add Sepal.Width to the existing model.
model2 <- model %~% ~ . + Sepal.Width
## Note the brackets are necessary in case of LHS substitution, otherwise
## the whole formula is consumed without evaluation.
model3 <- model %~% (Sepal.Width ~ .)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.