powered by
permutate(input, k)
# row wise permutations permutate(input=1:5, k=5)
Run the code above in your browser using DataLab