permutations | R Documentation |
Generates all possible permutations of elements from a vector.
permutations(x)
x |
Any kind of vector. |
Adrian Dusa
permutations(1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.