salt_insert | R Documentation |
Inserts a selection of characters into a percentage of values in the supplied vector.
salt_insert(x, insertions, p = 0.2, n = 1)
x |
A vector. This will always be coerced to character during salting. |
insertions |
A shaker function, or a character vector. |
p |
A number between 0 and 1. Percent of values in |
n |
A positive integer. Number of times to add new values from
|
A character vector the same length as x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.