met.reach.single: Reach centrality

View source: R/met.reach.single.R

met.reach.singleR Documentation

Reach centrality

Description

Calculate for all the vertices the node metric call reach.

Usage

met.reach.single(M, df = NULL, dfid = NULL, return.strength = FALSE)

Arguments

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.

Details

reach is the sum of the product of all the ego and alter's strengths and the alters' degrees

Value

Integer vector of each vertices R-Index values.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.


SebastianSosa/ant documentation built on Sept. 23, 2023, 7:06 a.m.