Description Usage Arguments Value
Wrapper of MCMC algorithm for mixed membership stochastic block model (MMSBM)
1 2 | gs_mmsbm(g, alpha_init, s_alpha_init, a, b, K, n_swap, N, thin, burnin,
print_freq, seed, f)
|
g |
a graph object, assumed to be a DAG |
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 |
K |
number of clusters, fixed |
n_swap |
number of swaps in order per iteration |
N, thin, burnin, print_freq |
MCMC quantities |
seed |
random seed to initiate MCMC |
f |
MCMC algo in C++; currently supports rgs_mmsbm() |
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.