extract_vars | 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 ~ .)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.