R/replace-values.R
ps_replace_values.Rd
From argument may contain multiple values. Class of column is retained, except if coerced by replacement value.
ps_replace_values(x, columns = names(x), from, to = NA_character_)
A data.frame, tibble, or sf object.
A vector of character strings indicating columns to modify.
A vector of values to be replaced.
A value to replace with.
The modified object.