shuffle | R Documentation |
Implementation of a simple shuffling algorithm that can be used to randomly permute a given set of simulated random numbers.
shuffle(n, k = 100, x = runif(n))
n |
numeric: number of variates to be output. |
k |
numeric: a tuning parameter for the shuffler. |
x |
a vector containing a sequence to be randomly permuted with the shuffler. |
a numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.