rMSBM | R Documentation |
Simulate data from the mimiSBM generative model.
rMSBM(N, V, alpha_klq, pi_k, rho, sorted = TRUE, p_switch = NULL)
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. |
list with the parameters of the simulation ($params), and the simulations ($simulation).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.