View source: R/enumerate.permutations.R
enumerate.permutations | R Documentation |
This function produces a matrix whose rows provide all possible permutations
of the set {1, 2, ..., n}
.
enumerate.permutations(nItems)
nItems |
The size of the set |
A matrix of integers, where each row is a permutation.
enumerate.permutations(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.