peek_names | R Documentation |
Checking if object contains a pattern in its names
peek_names(obj, pattern, ...)
obj |
An R object with names |
pattern |
A regex pattern as a character vector to use with grepl |
... |
Additional arguments passed to grepl |
the matches of 'pattern' in 'obj' names
peek_names(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.