pp_conn | R Documentation |
Create a degree-corrected planted partition connectivity matrix with a given average expected degree.
pp_conn( n, oir, lambda, pri, theta = rep(1, n), normalize_theta = FALSE, d = rep(1, length(pri)) )
n |
the number of nodes |
oir |
out-in-ratio |
lambda |
the expected average degree |
pri |
the prior on community labels |
theta |
node connection propensity parameter of DCSBM |
normalize_theta |
whether to normalize theta so that max(theta) == 1 |
d |
diagonal of the connectivity matrix. An all-one vector by default. |
The connectivity matrix B of the desired DCSBM.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.