util_filter_names_by_regexps: Filter collection based on its 'names()' using regular...

View source: R/util_filter_names_by_regexps.R

util_filter_names_by_regexpsR Documentation

Filter collection based on its names() using regular expressions

Description

Filter collection based on its names() using regular expressions

Usage

util_filter_names_by_regexps(collection, regexps)

Arguments

collection

a named collection (list, vector, ...)

regexps

character a vector of regular expressions

Value

collection reduced to entries, that's names match at least any expression from regexps

See Also

Other string_functions: util_pretty_vector_string(), util_set_dQuoteString(), util_set_sQuoteString(), util_sub_string_left_from_.(), util_sub_string_right_from_.()

Examples

## Not run:  # internal function
util_filter_names_by_regexps(iris, c("epa", "eta"))

## End(Not run)


dataquieR documentation built on May 29, 2024, 7:18 a.m.