Description Usage Arguments Value Note Author(s) See Also Examples

Returns the shape of a permutation. If given a word, it coerces to cycle form.

1 2 3 4 5 |

`x` |
Object of class |

`cyc` |
A cyclist |

`n` |
Integer governing the size of the partition assumed, with
default |

`drop` |
Boolean, with default |

`id1` |
Boolean, with default |

Function `shape()`

returns a list with elements representing the
lengths of the component cycles.

Function `shapepart()`

returns an object of class
`partition`

showing the permutation as a set partition of
disjoint cycles.

Function `shape()`

returns the lengths of the cycles in the order
returned by `nicify_cyclist()`

, so not necessarily in increasing
or decreasing order.

Robin K. S. Hankin

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.