Inserts a selection of characters into a percentage of values in the supplied vector.
salt_insert(x, insertions, p = 0.2, n = 1)
A vector. This will always be coerced to character during salting.
A shaker function, or a character vector.
A number between 0 and 1. Percent of values in x
that should be
salted.
A positive integer. Number of times to add new values from
insertions
into selected values in x
manually supply your own list of
characters.
A character vector the same length as x