perms | R Documentation |
Returns all possible permutations given the number of elements.
perms(n)
n |
Number of elements. |
Returns a matrix containing all possible permutations.
Volodymyr Melnykov, Wei-Chen Chen, and Ranjan Maitra.
ClassProp
.
perms(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.