rMSBM {mimiSBM} | R Documentation |
Simulate data from the mimiSBM generative model.
Description
Simulate data from the mimiSBM generative model.
Usage
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).
[Package mimiSBM version 0.0.1.3 Index]