negate_vars {admiral} | R Documentation |
The function adds a minus sign as prefix to each variable.
negate_vars(vars = NULL)
vars |
List of variables created by |
This is useful if a list of variables should be removed from a dataset,
e.g., select(!!!negate_vars(by_vars))
removes all by variables.
A list of expressions
Other utils_quo:
chr2vars()
negate_vars(exprs(USUBJID, STUDYID))