met.indegree.single: Indegree

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

met.indegree.singleR Documentation

Indegree

Description

Calculate for all the vertices the node metric call met.indegree.

Usage

met.indegree.single(M, df = NULL, dfid = NULL)

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

Details

met.indegree of vertice i is the number of all edges receive by node i.

Value

Integer vector of each vertices met.indegree.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.

References

Barrat, A., Barthelemy, M., Pastor-Satorras, R., & Vespignani, A. (2004). The architecture of complex weighted networks. Proceedings of the National Academy of Sciences of the United States of America, 101(11), 3747-3752.


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