rSMB_partition {mimiSBM} | R Documentation |
Simulation of mixture multilayer Stochastick block model
Description
This simulation process assumes that we have partial information on the clustering within each view component, and that the final clustering of individuals depends on a combination of the clustering on each of the views. In addition, we take into account possible label-switching: we consider that an individual belongs with a certain probability to the wrong class, thus disturbing the adjacency matrices and making the simulation more real and complex.
Usage
rSMB_partition(N, V, K, pi_k, rho, sorted = TRUE, p_switch = NULL)
Arguments
N |
Number of observations |
V |
Number of views |
K |
Vector of size Q, indicate the number of clusters in each component. |
pi_k |
Vector of proportions of observations 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. |
Details
See the vignette for more information.
Value
list with the parameters of the simulation ($params), and the simulations ($simulation).