vselect: Select vector with tidyselect functions

vselectR Documentation

Select vector with tidyselect functions

Description

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

Usage

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.

See Also

starts_with(), ends_with(), contains(), matches()


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.