cycles2perm: Get the permutation given the cycles

Description Usage Arguments Value Examples

View source: R/PerMallows.R

Description

Get the permutation as a vector given the set of cycles in which it factorizes

Usage

1
cycles2perm(cycles)

Arguments

cycles

a list with the set of disjoint cycles

Value

The permutation in vector notation

Examples

1
cycles2perm(perm2cycles(c(1,5,2,3,4)))

PerMallows documentation built on May 2, 2019, 6:14 a.m.