View source: R/util_filter_names_by_regexps.R
util_filter_names_by_regexps | R Documentation |
names()
using regular expressionsFilter collection based on its names()
using regular expressions
util_filter_names_by_regexps(collection, regexps)
collection |
a named collection (list, vector, ...) |
regexps |
character a vector of regular expressions |
collection
reduced to entries, that's names match at least any
expression from regexps
Other string_functions:
util_pretty_vector_string()
,
util_set_dQuoteString()
,
util_set_sQuoteString()
,
util_sub_string_left_from_.()
,
util_sub_string_right_from_.()
## Not run: # internal function
util_filter_names_by_regexps(iris, c("epa", "eta"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.