
Last chance! 50% off unlimited learning
Sale ends in
Finds which elements of a permutation object are fixed
# S3 method for word
fixed(x)
# S3 method for cycle
fixed(x)
Returns a Boolean vector corresponding to the fixed elements of a permutation.
Object of class word
or cycle
Robin K. S. Hankin
tidy
fixed(as.cycle(1:3)+as.cycle(8:9)) # elements 4,5,6,7 are fixed
fixed(id)
data(megaminx)
fixed(megaminx)
Run the code above in your browser using DataLab