cycle2str: Friendly display the cycles

View source: R/PerMallows.R

cycle2strR Documentation

Friendly display the cycles

Description

Given a list with the cycles of a permutation, displays them in the standard cycle notation

Usage

cycle2str(cy)

Arguments

cy

a list with the set of cycles

Examples

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

PerMallows documentation built on April 3, 2025, 11:09 p.m.