powered by
This functions returns a matrix in thich each of rows is a different permutation of the specified number of items
permutations.of(perm.length, alert = TRUE)
A collection of every permutation of the specified number of items
number of items in the permutation
optional ask for confirmation when the number of permutations to show is very large
permutations.of(3) permutations.of(10)
Run the code above in your browser using DataLab