allPerms | R Documentation |
Generate all permutations of 1 to n, as rows of a matrix
allPerms(n)
n |
size of permutations |
an n!xn matrix whose rows give permutations
allPerms(4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.