Description Usage Arguments Value Examples
This function allows you to fit single level stochastic block models.
1 2 3 4 5 6 7 8 9 10 |
A |
An n x n symmetric adjacency matrix. |
K |
The number of clusters specified a priori. |
a0 |
Dirichlet prior parameter for cluster sizes for clusters 1,...,K. |
b10 |
Beta distribution prior paramter for community connectivity. |
b20 |
Beta distribution prior parameter for community connectivity. |
n_iter |
The number of total MCMC iterations to run. |
burn |
The number of burn-in MCMC iterations to discard. The number of saved iterations will be n_iter - burn. |
verbose |
Whether to print a progress bar to track MCMC progress. Defaults to true. |
A list of MCMC samples, including the MAP estimate of cluster indicators (z)
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.