deparseCond | R Documentation |
Check if formula
is valid and, if it contains a
|
character, idenitfy regressors and conditional variables
deparseCond(formula)
formula |
A model formula, possibly containing a |
Returns the formula with the following attributes:
y |
"vertical" (response) variable(s) |
x |
"horizontal" (regressor) variable(s) |
a |
(first) conditional variable, if any |
b |
second conditional variable, if any |
This function is typically used for conditional plots and mixed models
Werner A. Stahel
deparseCond(yy ~ xx)
deparseCond(yy ~ xx | aa + bb)
deparseCond(y1 + y2 ~ x1 + log(x2) | sqrt(quantity))
plyx(Sepal.Width~Sepal.Length | Species, data=iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.