string_replace | R Documentation |
Apply a regular expression and return the original and the changed value, only the unique values
string_replace(Input, Var, Reg_expression, Replacement, Mode = "Test")
Input |
Input tibble |
Reg_expression |
Regular expression to apply to input |
Replacement |
String to use for replacement |
Mode |
Test/Apply = test will return just unique changes |
Output |
Variable to out result into |
A tibble will be returned with the:
Input$Var (where a change occurred)
Output
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.