r.perms.cycles: Generate a collection of permutations with a given number of cycles
Description
Given a number of permutations, the number of items in the permutations
and number of cycles, generate a sample of permutations with the specified length
and number of cycles
Usage
r.perms.cycles(n, perm.length, cycles)
Arguments
n
number of permutations in the sample
perm.length
number of items in the permutations
cycles
number of cycles
Value
A sample of permutations with the specified length
and number of cycles