View source: R/shuffle_samples.R
mk_constant_swapping_function | R Documentation |
This internal function is wrapped by mk_swapping_function()
mk_constant_swapping_function(n_swaps, quiet = FALSE)
n_swaps |
Number of swaps to be proposed (valid range is 1..floor(n_samples/2)) |
quiet |
Do not warn if number of swaps is too big. |
Function accepting batch container & iteration number. Return a list with length n vectors 'src' and 'dst', denoting source and destination index for the swap operation on each call
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.