View source: R/global_search.R
col_search_sum | R Documentation |
Search every character column of a data frame for a pattern and count hits.
col_search_sum(df, pattern, na.rm = TRUE)
df |
A data frame |
pattern |
The pattern to search for (regular expression) |
na.rm |
Ignore missing values. |
A data frame where each column is the number of times that column matched the target pattern.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.