View source: R/met.ri.single.R
met.ri.single | R Documentation |
Calculate for all the vertices the node metric call R-Index.
met.ri.single(M, df = NULL, dfid = NULL)
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 |
R-Index of vertice i is the outstrength of node i divided by the met.strength of node i. Such node metric atempt to measur if an individual have more tendency to receive or emit edges.
Integer vector of each vertices R-Index values. If the adjacency matrix is binary it will return the binari R-index. If the adjacency matrix is weigthed it will return the binari R-index.
Sebastian Sosa, Ivan Puga-Gonzalez.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.