View source: R/CreateHypotMatrix.R
CreateHypotMatrix | R Documentation |
Takes a binary vector or column matrix and generates list of binary correlation matrices representing the partition in the vectors.
CreateHypotMatrix(modularity.hypot)
modularity.hypot |
Matrix of hypothesis. Each line represents a trait and each column a module. if modularity.hypot[i,j] == 1, trait i is in module j. |
binary matrix or list of binary matrices. If a matrix is passed, all the vectors are combined in the last binary matrix (total hypothesis of full integration hypothesis).
rand.hypots <- matrix(sample(c(1, 0), 30, replace=TRUE), 10, 3)
CreateHypotMatrix(rand.hypots)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.