| OnestepHBS | R Documentation |
Updates each row (sample) of a binary state matrix by choosing one random position per row and resampling it according to precomputed heat-bath probabilities.
OnestepHBS(y, logmo)
y |
Numeric matrix of size |
logmo |
Numeric matrix of probabilities compatible with |
A numeric matrix with the same dimensions as y, updated states.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.