MixSim (version 1.1-3)

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
# NOT RUN {
<!-- %\dontrun{ -->
# }
# NOT RUN {
perms(3)
# }
# NOT RUN {
<!-- %} -->
# }

Run the code above in your browser using DataLab