If provided a single argument, returns a permuted version of the
given collection. (perm x) is the same as (sample x).
If provided two arguments, returns two lists that are permutations
across the given collections. In other words, each of the new collections
will contain elements from both of the given collections. Useful for
permutation tests or randomization tests.
Examples:
(permute (range 10))
(permute (range 10) (range 10 20))
Comments top
1 comment(s) for permute.
Typo in documentation (perm x) should be (permute x)