next_permutation | R Documentation |
Each permutation is computed on basis of a passed permutation where lexicographic ordering of the permutations is used to determine the next "higher" permutation. This is an adaption of the 'next_permutation' function in C++.
next_permutation(permutation)
permutation |
A vector of elements. |
The next higher permutation of the elements in vector 'permutation' with regard to its lexicographic ordering.
Martin Papenberg martin.papenberg@hhu.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.