edge.inv: Calculates the differences in absolute edge weight for each...

View source: R/SourceCodePTNWNeu.R

edge.invR Documentation

Calculates the differences in absolute edge weight for each network edge

Description

This function calculates the differences in absolute edge weight for each edge between two networks (adjacency matrices of the same dimension).

Usage

edge.inv(A, B)

Arguments

A, B

adjacency matrices of the same dimension

Details

This function calculates the differences in absolute edge weight for each edge between two networks (adjacency matrices of the same dimension). In particular, by considering absolute edge weights, it does not take account of directions (signs) of the edge weights (associations) when deriving the differences. Differences in absolute edge weight are one of the edge-specific network difference characteristics to compare two networks.

Value

a symmetric N \times N matrix, with N denoting the number of nodes, containing the differences in absolute edge weight between two respective nodes

Examples

A<-create.adjacency.matrix(ExDataA,methodlist=list("Spearman"))
B<-create.adjacency.matrix(ExDataB,methodlist=list("Spearman"))
edge.inv(A,B)

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