View source: R/met.reach.single.R
met.reach.single | R Documentation |
Calculate for all the vertices the node metric call reach.
met.reach.single(M, df = NULL, dfid = NULL, return.strength = FALSE)
M |
a square adjacency matrix. |
df |
a data frame of same length of the input matrix. |
dfid |
an integer indicating the column of individual ids in argument df. |
return.strength |
a boolean that indicate if strength have to be return. Possiblility only available if if argument df and dfid are both NULL Default value is FALSE. |
reach is the sum of the product of all the ego and alter's strengths and the alters' degrees
Integer vector of each vertices R-Index values.
Sebastian Sosa, Ivan Puga-Gonzalez.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.