A wrapper around the tidyselect functions that allows to use them not only on data.frames but on vectors as well.

vselect(input, ..., out.fail = base::character(0))

Arguments

input

A character vector or a factor.

...

Additional selection helpers from the tidyselect package that match variable names according to a given pattern.

lst

A named list. (Unnamed elements are discarded.)

Value

A subsetted version of the input.