Description Usage Arguments Value Author(s) Examples
View source: R/gen.network.FE.R
Generate network with a selected blockmodel and the level or errors.
1 2 3 4 5 6 7 | 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
1 2 3 | # 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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.