length:
Various vector-like utilities for permutation objects.
Description
Various vector-like utilities for permutation objects such as
length, names(), etc
Usage
"length"(x)
"length"(x) <- value
"names"(x)
"names"(x) <- value
Arguments
x
permutation object
value
In function names<-.word(), the new names
Details
These functions have methods only for word objects; cycle objects use
the methods for lists. It is easy to confuse the length of a
permutation with its size.
It is not possible to set the length of a permutation; this is more
trouble than it is worth.