Helper functions in package mde
recode_helper(
x,
pattern_type = NULL,
pattern = NULL,
original_value,
new_value,
case_sensitive = FALSE,
...
)
A data.frame object
One of contains', 'starts_with' or 'ends_with'.
A character pattern to match
Value to replace
Replacement value.
Defaults to FALSE. Patterns are case insensitive if TRUE
Other arguments to other functions