All Permutations of Integers 1:n

Share:

Description

Returns a matrix containing all permutations of the integers 1:n (one permutation per row).

Usage

1

Arguments

n

Number of element to permute.

Author(s)

Friedrich Leisch

Examples

1

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.