Learn R Programming

NetworkToolbox (version 1.1.1)

degree: Degree

Description

Computes degree of each node in a network

Usage

degree(A)

Arguments

A

An adjacency matrix of network data

Value

A vector of degree values for each node in the network. If directed network, returns a list of in-degree (inDegree), out-degree (outDegree), and relative influence (relInf)

References

Rubinov, M., & Sporns, O. (2010). Complex network measures of brain connectivity: Uses and interpretations. Neuroimage, 52(3), 1059-1069.

Examples

Run this code
# NOT RUN {
A<-TMFG(neoOpen)$A

deg<-degree(A)
# }

Run the code above in your browser using DataLab