View source: R/random_permutation_with_randomness.R
This function randomly permutes a vector or array of length n based on the Algorithm235. It also takes an input that specifies the percentage of hold fixed elements.
1 | random_permutation_with_randomness(a, percentage)
|
a |
A random vector or array. |
percentage |
The percentage of hold fixed elements in the array. It takes real value between 0 and 1, closed interval. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.