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

View source: R/SourceCodePTNWNeu.R

betweenness.invR Documentation

Calculates differences in betweenness for each network node

Description

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

Usage

betweenness.inv(X, Y)

Arguments

X, Y

adjacency matrices of the same dimension

Details

This function calculates the differences in betweenness for each node between two networks (adjacency matrices of the same dimension). Differences in betweenness 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 betweenness between the two networks for each node

Examples

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

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