fixed

0th

Percentile

Fixed elements

Finds which elements of a permutation object are fixed

Keywords
symbolmath
Usage
# S3 method for word
fixed(x)
# S3 method for cycle
fixed(x)
Arguments
x

Object of class word or cycle

further arguments (currently unused)

Value

Returns a Boolean vector corresponding to the fixed elements of a permutation.

Note

The function is vectorized; if given a vector of permutations, fixed() returns a Boolean vector showing which elements are fixed by all of the permutations.

This function has two methods: fixed.word() and fixed.cycle(), neither of which coerce.

See Also

tidy

Aliases
  • fixed
  • fixed.word
  • fixed.cycle
Examples
# NOT RUN {
fixed(as.cycle(1:3)+as.cycle(8:9))   # elements 4,5,6,7 are fixed
fixed(id)


data(megaminx)
fixed(megaminx)


# }
Documentation reproduced from package permutations, version 1.0-5, License: GPL-2

Community examples

Looks like there are no examples yet.