Description Usage Arguments Value Examples
Generate a permutation of a given length having a given number of inversions
1 |
n |
A positive integer. |
k |
A nonnegative integer at most |
allow.dual |
Logical; whether to allow exchanging large values of |
A permutation of n
having k
(non-arbitrary) inversions.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.