Function rperm() creates a word object of random permutations.
Function rcyc() creates random permutations comprising a single
(group-theoretic) cycle of a specified length (r1cyc() is a
low-level helper function).
In function rperm(), integer specifying how many
elements can move (that is, how many elements do not map to
themselves), with default NA meaning to choose a permutation
at random. This is useful if you want a permutation that has a
compact cycle representation