Learn R Programming

MixSim (version 1.1-2)

perms: 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.

See Also

ClassProp.

Examples

Run this code

perms(3)

Run the code above in your browser using DataLab