formula_split | R Documentation |
This function splits one formula into two formulas by symbol.
formula_split(formula, symbol = "|")
formula |
an object of class |
symbol |
a string that is used to split |
The symbol
should be on the right hand side of
the formula.
This function returns a list of two formulas.
formula_split("y ~ x1 + x2 | x2 + x3")
formula_split("y ~ x1 + x2 : x2 + x3", symbol = ":")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.