Description Usage Arguments Value
Run the regular Gibbs sampler of MMSBM
1 2 | rgs_mmsbm(Y, o_init, alpha_init, s_alpha_init, a, b, A, B, n_swap = 1L,
N = 1000L, thin = 1L, burnin = 100L, print_freq = 100L)
|
Y |
the adjacency matrix representing the graph |
o_init |
initial value of the ordering vector |
alpha_init |
initial value of alpha |
s_alpha_init |
initial value of proposal standard deviation for alpha's Metropolis step |
a, b |
hyperparameters for alpha's prior |
A, B |
square matrices of the hyperparameters for group-to-group probabilities' prior |
n_swap |
number of swaps in order per iteration |
N, thin, burnin, print_freq |
MCMC quantities |
a list of data frames and matrices representing the MCMC output
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.