Description Usage Arguments Examples
Randomly shuffle the rows/elements of an object. If x is a matrix or data frame, this is equivalent to draw(x, n = nrow(x)) or x[sample(1:nrow(x), size = nrow(x)), ].
1 | shuffle(x)
|
x |
An object |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.