View source: R/global_search.R
col_replace | R Documentation |
Search and replace in every column of a data frame.
col_replace(df, pattern, replacement)
df |
A data frame |
pattern |
The pattern to search for (regular expression) |
replacement |
The replacement. |
A data frame with the pattern replaced in every column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.