Simulate data from the mimiSBM generative model.

rMSBM(N, V, alpha_klq, pi_k, rho, sorted = TRUE, p_switch = NULL)

Arguments

N

Number of individuals.

V

Number of views.

alpha_klq

array of component-connection probability (K,K,Q).

pi_k

Vector of proportions of individuals across clusters.

rho

Vector of proportion of views across components.

sorted

Boolean for simulation reordering (clusters and components membership).

p_switch

probability of label-switching, if NULL no perturbation between true clustering and the connectivity of individuals.

Value

list with the parameters of the simulation ($params), and the simulations ($simulation).