perms: Permutations

Description Usage Arguments Value Author(s) See Also Examples

View source: R/main.R

Description

Returns all possible permutations given the number of elements.

Usage

1
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

1
perms(3)

snoweye/MixSim documentation built on May 26, 2017, 1:27 p.m.