View source: R/met.alterDegree.R
met.alterDegree | R Documentation |
Computer the degre of a specific node.
met.alterDegree(M, i, av = FALSE, binary = FALSE)
M |
a square adjacency matrix. |
i |
The ego in which we want to calculate his aleer met.degree. |
av |
a boolean, if TRUE compute the sum of alters before making alter mean. |
calculates average or sum of alters' degrees. By default it calculates the sum of the degrees of alters.
Vector fo Alters sum or average of met.degree or met.strength values for each verteces.
Sebastian Sosa, Ivan Puga-Gonzalez
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.