Sample an adjacency matrix from a degree-corrected Erdős–Rényi model (DCER).

sample_dcer(theta)

Arguments

theta

Node connectivity propensity vector (\(n * 1\))

Value

An adjacency matrix following DCSBM