Returns permutations of a given NumericVector as columns in a NumericMatrix object.
NumericVector representing a vector that is to be permutated
Integer representing the number of permutations that are to be performed.
a matrix containing in every column one permutations of the input vector
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.