Learn R Programming

PerMallows (version 1.14)

identity.permutation: Generate identity the permutation

Description

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

Usage

identity.permutation(perm.length)

Value

The identity permutation of the specified number of items

Arguments

perm.length

number of items in the permutation

Examples

Run this code
identity.permutation(3)
identity.permutation(7)

Run the code above in your browser using DataLab