permutations.of: Generate every permutation of perm.length item

View source: R/PerMallows.R

permutations.ofR 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 permutations to show is very large

Value

A collection of every permutation of the specified number of items

Examples

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

PerMallows documentation built on April 3, 2025, 11:09 p.m.