mgetnames | R Documentation |
Get names by string matching multiple patterns
mgetnames(
x,
pattern = NULL,
starts_with = NULL,
ends_with = NULL,
ignore.case = TRUE,
return.index = FALSE
)
x |
Character vector or object with |
pattern |
Character vector: pattern(s) to match anywhere in names of x |
starts_with |
Character: pattern to match in the beginning of names of x |
ends_with |
Character: pattern to match at the end of names of x |
ignore.case |
Logical: If TRUE, well, ignore case. Default = TRUE |
return.index |
Logical: If TRUE, return integer index of matches instead of names |
Character vector of matched names or integer index
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.