Enumerates all permutations of a vector
The vector to permute
Should duplicate permutations be listed
Returns a matrix where each row is a permutation of vec. All possible permutations are listed, and if
duplicates=TRUE non-unique permutations are also listed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.