powered by
Return matrix with rows indicating all possible selections of elements from seq(M). 0 in the result indicates omit. M is usually a positive integer. M=0 gives NULL. Neg. M give -permute(abs(M)).
permute(M)
An integer.
A matrix.
# NOT RUN { permute(4) # }
Run the code above in your browser using DataLab