compose {PerMallows}R Documentation

Compose permutations

Description

This function composes two given permtuations. One of the arguments can be a collection of permutations, but not both at the same time. In this case, every permutation in the collection is composed with the other argument

Usage

compose(perm1, perm2)

Arguments

perm1

a permtuation or a collection of permutations

perm2

a permtuation or a collection of permutations

Value

The composition of the permutations

Examples

compose(c(3,1,2,4), c(4,1,3,2))

[Package PerMallows version 1.13 Index]