permutations.of {PerMallows}R Documentation

Generate every permutation of perm.length item

Description

This functions returns a matrix in thich each of rows is a different permutation of the specified number of items

Usage

permutations.of(perm.length, alert = TRUE)

Arguments

perm.length

number of items in the permutation

alert

optional ask for confirmation when the number of permtuations to show is very large

Value

A collection of every permutation of the specified number of items

Examples

permutations.of(3)
permutations.of(10)

[Package PerMallows version 1.13 Index]