Description Usage Arguments Value Author(s) References Examples
Generate all distinct permutations of a vector
1 | permutations(x)
|
x |
vector to permute |
A matrix of all distinct permutations (by row)
https://stackoverflow.com/a/20199902/986793
1 | permutations(LETTERS[1:4])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.