Description Usage Arguments Details Value Examples
salt
takes a vector .x
and returns a salted version of it.
The algorithm for salting a vector is:
Select a random sample of characters of length .n_chars
from .chars
. Call this random sample .y
.
Concatenate .y
, the vector .x
, and .y
again in a vectorized fashion.
1 |
.x |
a vector. |
.seed |
an integer to seed the random number generator. |
.chars |
set of characters to salt with. |
.n_chars |
an integer; number of characters to salt with. |
The user is advised to check out Wikipedia for more information.
A salted version of the vector.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.