Description Usage Arguments Value
Generates permutations of perm
and calls a callback fun
for every permutation, without preallocating
memory. This helps, when permutating very large vectors.
1 |
perm |
numeric vector; numbers which should be permuted |
fun |
function; callback function with 1 parameter |
steps |
logical; Generate only full permutations, or generate steps between them? Default: |
current |
numeric vector; Prepends given vector to permutation before calling |
nothing. If you want to save calculations, you need to write them into global workspace via fun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.