InvertPermutation: Invert permutation

Description Usage Arguments Details Author(s) Examples

View source: R/GraphAlignment.R

Description

Invert the permutation defined by the specified vector.

Usage

1

Arguments

p

permutation vector

Details

The return value is a permutation vector equal to the inverse of the input permutation.

Author(s)

Joern P. Meier, Michal Kolar, Ville Mustonen, Michael Laessig, and Johannes Berg

Examples

1
2
  p <- rank(rnorm(10))
  pInv <- InvertPermutation(p)

GraphAlignment documentation built on Nov. 8, 2020, 6:56 p.m.