gen.network.LE {nem} | R Documentation |
Generate network with a selected blockmodel and the level or errors.
gen.network.LE( BM = BM, LE = 0.4, n = 24, size = rep(1/nrow(BM), nrow(BM)), symmetric = FALSE )
BM |
An image matrix of a blockmodel. |
LE |
Desired level of errors. |
n |
Network size. |
size |
A vector with the values specifying the clusters' sizes (the elements must sum to 1). |
symmetric |
Wheter a symmetric network should be generated. |
k |
Number of iterations. |
A network with selected blockmodel type and level of errors.
Marjan Cugmas
# generate initial and ideal network cohesiveBM <- rbind(c("com", "nul"), c("nul", "com")) network <- gen.network.LE(BM = cohesiveBM, LE = 0.5, n = 12, size = rep(0.5, 2))