The identity permutation
id.RdThe identity permutation leaves every element fixed
Usage
is.id(x)
is.id_single_cycle(x)
# S3 method for class 'cycle'
is.id(x)
# S3 method for class 'list'
is.id(x)
# S3 method for class 'word'
is.id(x)Value
The variable id is a cycle as this is more convenient
than a zero-by-one matrix.
Function is.id() returns a Boolean with TRUE if the
corresponding element is the identity, and FALSE otherwise. It
dispatches to either is.id.cycle() or is.id.word() as
appropriate.
Function is.id.list() tests a cyclist for identityness.
Note
The identity permutations documented here are distinct from the null
permutations documented at nullperm.Rd.