parse_formula {brokenstick} | 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