| shuffle_cpp_wrap | R Documentation |
Shuffles a vector rapidly
shuffle_cpp_wrap(w, seed = NA_integer_)
w |
The vector to be shuffled |
seed |
Optional integer seed; use NA to draw from the system clock |
The vector with elements shuffled
Adam Kapelner
## Not run:
shuffle_cpp_wrap(1:5, seed = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.