extract_vars {mlr3misc} | R Documentation |
Given a formula()
f
, returns all variables used on the left-hand side and
right-hand side of the formula.
extract_vars(f)
f |
( |
(list()
) with elements "lhs"
and "rhs"
, both character()
.
extract_vars(Species ~ Sepal.Width + Sepal.Length)
extract_vars(Species ~ .)