| get1 | R Documentation |
Given an object of class cycle, function get1() returns a
representative of each of the disjoint cycles in the object's elements.
Function get_cyc() returns the cycle containing a specific element.
get1(x,drop=TRUE)
get_cyc(x,elt)
x |
permutation object (coerced to |
drop |
In function |
elt |
Length-one vector interpreted as a permutation object |
Robin K. S. Hankin
data(megaminx)
get1(megaminx)
get1(megaminx[1])
get1(megaminx[1],drop=TRUE)
get_cyc(megaminx,11)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.