met.reach: Reach centrality

Description Usage Arguments Details Value Author(s) References Examples

View source: R/met.reach.R

Description

Calculates the weighted node metric 'reach centrality' for all vertices.

Usage

1
met.reach(M, df = NULL, dfid = NULL)

Arguments

M

a square adjacency matrix, or a list of square adjacency matrices, or an output of ANT functions stat.ds.grp, stat.df.focal, stat.net.lk.

df

a data frame of same length as the input matrix or a list of data frames if argument M is a list of matrices or an output of ANT functions stat.ds.grp, stat.df.focal, stat.net.lk.

dfid

an integer or a string indicating the column with individual ids in argument df.

Details

Reach is the sum of the product of ego's and alters' strengths and alters' degrees.

Value

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.

References

Whitehead, H. A. L. (1997). Analysing animal social structure. Animal behaviour, 53(5), 1053-1067.

Examples

1
2
3

SebastianSosa/ant documentation built on Dec. 19, 2018, 11:04 a.m.