Given a (K-by-K) stochastic blockmodel W,
generates an (n-by-n) binary random graphs. All K blocks have
same number of nodes, or almost identical if n is not a multiple
of K. Parameter
noloop controls whether generated observations
have an edge from a node to itself, called a loop.
the number of nodes for each observation.
the number of observations to be generated.
a logical value; TRUE for graphs without self-loops, FALSE otherwise.
a named list containing
(n-by-n) observation, or
rep list where each element
is an observation is an
(n-by-n) realization from the model.
(n-by-n) probability matrix of generating each edge.
1 2 3 4 5 6 7 8 9 10 11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.