parse_formula | R Documentation |
A bare bones formula parser to extract variables names from
formulas of y ~ x | g
. It return the name of
the first variable mentioned in each formula component.
parse_formula(f)
f |
formula object |
A list
with elements x
, y
and g
.
Each element has length 1.
Stef van Buuren 2023
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.