Description Usage Arguments Details Value Author(s) See Also Examples
Formula Builder
1 | build.formula(lhs, rhs)
|
lhs |
Character vector for left side of formula |
rhs |
Character vector for right side of formula |
Builds a formula easily given the left and right hand sides. Right now it only handles additive formulas and not interactions unless that is specified in the character.
A formula object
Jared P. Lander www.jaredlander.com
formula as.formula
1 2 3 4 | build.formula("Y", "X")
build.formula(c("Y", "Z"), "X")
build.formula("Z", c("X", "Q"))
build.formula(c("Y", "Z"), c("X", "Q"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.