eigen.inv: Calculates differences in eigenvector centrality for each...

View source: R/SourceCodePTNWNeu.R

eigen.invR Documentation

Calculates differences in eigenvector centrality for each network node

Description

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

Usage

eigen.inv(X, Y)

Arguments

X, Y

adjacency matrices of the same dimension

Details

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

Examples

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

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