Description Usage Arguments Value Examples
View source: R/subset_column.R
Subset a data frame column-wise by matching column names to a regex pattern
1 |
df |
A data frame |
pattern |
A regex pattern. A character vector. |
A data frame with column names which match the pattern. All rows in the data framr are returned.
1 | subset_column(exercise, pattern = "blood")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.