rcpp_shuffle | R Documentation |
Rcpp shuffle vector.
rcpp_shuffle(x, elements)
x |
NumericVector with elements to shuffle. |
elements |
Logical if vector elements or iteratos are returned. |
Shuffles the element of a vector (or the elements iterators).
vector
How to use time-based seed taken from <http://www.cplusplus.com/reference/algorithm/shuffle/>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.