Description Usage Arguments Value Examples
A simple randomizer, provides equal probability of assignment to one of many groups
1 | rnd_assign(x, k, seed)
|
x |
a Vector to assign |
k |
Number of groups to assign |
seed |
A seed for random assignment reproducibility |
An array with x, k assignment groups, and the seed as an attribute
1 2 3 | require(jumble)
x <- 1:100
rnd_assign(x, 2, as.integer(as.Date('2016-01-01')))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.