vars_select {tidyselect} | R Documentation |
Select or rename variables
Description
Please use eval_select()
and eval_rename()
instead. See
vignette("tidyselect")
to get started.
Usage
vars_select(
.vars,
...,
.include = character(),
.exclude = character(),
.strict = TRUE
)
vars_rename(.vars, ..., .strict = TRUE)
Arguments
.vars |
A character vector of existing column names. |
... |
Selection inputs. See the help for selection helpers. |
.include , .exclude |
Character vector of column names to always include/exclude. |
.strict |
If |
Value
A named character vector. Values are existing column names, names are new names.
See Also
[Package tidyselect version 1.2.1 Index]