shuffle_within_groups | R Documentation |
Shuffle a vector within each group
shuffle_within_groups(x, g)
x |
The vector to be shuffled. |
g |
A vector of groups. |
A version of x where elements have been shuffled within each group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.