View source: R/str_col_names.R
str_col_names | R Documentation |
Extract column names with regular expressions
str_col_names(data, pattern)
data |
A data frame. |
pattern |
A pattern. |
Column names that match the pattern.
str_col_names(iris, "Length")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.