| permutations | R Documentation | 
Returns a matrix containing all permutations of the integers
1:n (one permutation per row).
permutations(n)
n | 
 Number of element to permute.  | 
Friedrich Leisch
permutations(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.