Description Usage Arguments Value Examples
This function allows you to sample a single level stochastic block model.
1 | sample_sbm(z, P)
|
z |
An n x 1 vector of community labels for each node |
P |
A K x K symmetric matrix of community connectivity probabilities |
An adjacency matrix
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.