degree.inv: Calculates differences in degree for each network node

View source: R/SourceCodePTNWNeu.R

degree.invR Documentation

Calculates differences in degree for each network node

Description

This function calculates the differences in degree for each node between two networks (adjacency matrices of the same dimension).

Usage

degree.inv(X, Y)

Arguments

X, Y

adjacency matrices of the same dimension

Details

This function calculates the differences in degree for each node between two networks (adjacency matrices of the same dimension). Differences in degree are one of the node-specific network difference characteristics to compare two networks.

Value

a vector of length N (number of nodes), containing the differences in degree between the two networks for each node

Examples

X<-create.adjacency.matrix(ExDataA,methodlist=list("Spearman"))
Y<-create.adjacency.matrix(ExDataB,methodlist=list("Spearman"))
degree.inv(X,Y)

RomanSchefzik/DNT documentation built on Sept. 11, 2022, 10:29 p.m.