sample_dcpp.Rd
Sample from a degree-corrected planted partition model
sample_dcpp(
n,
lambda,
K,
oir,
theta = NULL,
pri = rep(1, K)/K,
normalize_theta = F
)
number of nodes
average degree
number of communities
out-in ratio
propensity parameter, if not given will be samples from a Pareto distribution with scale parameter 2/3 and shape parameter 3
prior distribution of node labels
whether to normalize theta so that max(theta) == 1
an adjacency matrix following a degree-corrected planted parition model