For the function permutation, a permutation of the integers 1, 2,... n, where n is the length of the vector. For the function print.shallot.permutation, this is ignored.
n.items
An optional argument provided instead of ... to request a random partition. The argument fixed must be FALSE.
x
An object of class shallot.permutation.
fixed
Should the permutation be fixed?
Value
An object of class shallot.permutation.
Details
A valid permutation of length n is an integer vector of length n containing each integer 1, 2,... n only once.