identity.permutation: Generate identity the permutation

Description Usage Arguments Value Examples

View source: R/PerMallows.R

Description

This function generates the identity permutation of a given number of items

Usage

1
identity.permutation(perm.length)

Arguments

perm.length

number of items in the permutation

Value

The identity permutation of the specified number of items

Examples

1
2

Example output

Loading required package: Rcpp
[1] 1 2 3
[1] 1 2 3 4 5 6 7

PerMallows documentation built on May 2, 2019, 6:14 a.m.