| calc_prob_binary_unnorm | Calculate unnormalized probability for binary vector |
| int_to_bin | Converts integer to vector of zeros and ones |
| sample_binary | Draw a binary matrix |
| sample_trinary | Sample a trinary matrix |
| update_alpha | Update the alpha vector, the vector of sample-specific random... |
| update_k | Update kminus or kplus vector |
| update_mu | Update the mean vector mu (after Xu et al., 2012) |
| update_pp | Update the bernoulli parameter pp vector |
| update_trinary | Update trinary matrix |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.