powered by
Returns a matrix containing all permutations of the integers 1:n (one permutation per row).
1:n
permutations(n)
Number of element to permute.
Friedrich Leisch
permutations(3)
Run the code above in your browser using DataLab