Description Usage Arguments Details Author(s) Examples
The function adds a minus sign as prefix to each variable.
1 | 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.
Stefan Bundfuss
1 | negate_vars(vars(USUBJID, STUDYID))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.