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)


snoweye/MixSim documentation built on July 21, 2024, 4:42 p.m.