rank_to_permutation {statcomp}R Documentation

A function to convert a "ranks-based" permutation notation to an "index-based" permutation scheme.

Description

Converts permutations denoted by ranks to permutations denoted by indices and back.

Usage

rank_to_permutation(pattern, permutation.notation)

Arguments

pattern

A numeric vector that denotes a permutation pattern.

permutation.notation

The permutation notation that should be used. Could be "Olivares.2012" or "Keller.2005".

Details

This function converts ranks to indices and back.

Value

A numeric vector, which contains the transformed permutation.

Author(s)

Sebastian Sippel

References

Sebastian Sippel (2014). Master Thesis. University of Bayreuth.


[Package statcomp version 0.1.0 Index]