Get names by string matching
Usage
getnames(
x,
pattern = NULL,
starts_with = NULL,
ends_with = NULL,
ignore_case = TRUE
)
getnumericnames(x)
getlogicalnames(x)
getcharacternames(x)
getdatenames(x)
Arguments
- x
object with
names()
method.- pattern
Character: pattern 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.