Description Usage Arguments Value See Also
This function is used to swap elements in the stored indicators from MCMC sampling. Note that this function reuses R memory and should therefore be treated with caution. Do not use this function unless you really know what you are doing.
1 | swapInd_cc(values, index)
|
values |
An integer matrix containing the last indicators stored in
MCMC sampling. The number of these last stored indicators is defined by
the hpyer-parameter |
index |
An integer matrix defining the swapping scheme. |
A matrix with swapped values.
mcmc()
for the hyper-parameter storeS
swapElements()
for the calling method
swapInteger_cc()
for the equivalent function that swaps simple integer
matrices
swap_3d_cc()
for a function that swaps values in three-dimensional
arrays
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.