perms: Permutations

View source: R/main.R

permsR Documentation

Permutations

Description

Returns all possible permutations given the number of elements.

Usage

perms(n)

Arguments

n

Number of elements.

Value

Returns a matrix containing all possible permutations.

Author(s)

Volodymyr Melnykov, Wei-Chen Chen, and Ranjan Maitra.

See Also

ClassProp.

Examples


perms(3)


MixSim documentation built on Sept. 8, 2023, 5:07 p.m.

Related to perms in MixSim...