degree_centr: Calculate degree centrality for a single graph.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/degree_centr.R

Description

This function calculates the number of non-zero connections each node in a network has for a single graph.

Usage

1
degree_centr(graph)

Arguments

graph

A network as an igraph object or connectivity matrix.

Details

Degree centrality is simply the sum of present connections of node i to each other jth node:

D_i= ∑_{j \neq i}^N e_{ij}

For the weighted version of degree, see the functions for calculating strength.

Value

A vector of centrality scores for each node.

Author(s)

Brandon Vaughan

References

Fornito, A., Zalesky, A., & Bullmore, E. (2016). Node Degree and Strength. Chapter 4. Fundamentals of Brain Network Analysis, 115-136. doi:10.1016/B978-0-12-407908-3.00004-2

See Also

degree_mult strength_signed strength

Examples

1
# degree = degree_centr(graph)

abnormally-distributed/rsfcNet documentation built on March 8, 2020, 5:32 p.m.