met.alterDegree: Alters sum or average of met.degree or met.strength.

View source: R/met.alterDegree.R

met.alterDegreeR Documentation

Alters sum or average of met.degree or met.strength.

Description

Computer the degre of a specific node.

Usage

met.alterDegree(M, i, av = FALSE, binary = FALSE)

Arguments

M

a square adjacency matrix.

i

The ego in which we want to calculate his aleer met.degree.

av

a boolean, if TRUE compute the sum of alters before making alter mean.

Details

calculates average or sum of alters' degrees. By default it calculates the sum of the degrees of alters.

Value

Vector fo Alters sum or average of met.degree or met.strength values for each verteces.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez


SebastianSosa/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.