permute | R Documentation |
generate all possible permutations (without replacement)
permute(v)
v |
vector to permute |
matrix, permuted elements in columns
https://www.r-bloggers.com/learning-r-permutations-and-combinations-with-base-r/
permute(1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.