grapes-.-grapes-Permutation-method: Operator to compose two permutations

Description Usage Arguments Value Examples

Description

This operator returns the composition of two permutations

Usage

1
2
## S4 method for signature 'Permutation'
e1 %.% e2

Arguments

e1

Object of class Permutation representing the firs permutation in the composition

e2

Object of class Permutation representing the second permutation in the composition

Value

A new object of class Permutation equal to the composition of e1 and e2

Examples

1
2
permu <- permutation(order(runif(10)))
permu %.% inverse(permu)

anderct105/Dataset_R documentation built on Dec. 24, 2021, 12:16 a.m.