spec.dist: Calculates the spectral distance

View source: R/SourceCodePTNWNeu.R

spec.distR Documentation

Calculates the spectral distance

Description

This function calculates the spectral distance between two adjacency matrices of the same dimension.

Usage

spec.dist(A, B)

Arguments

A, B

adjacency matrices of the same dimension

Details

This function calculates the spectral distance between two adjacency matrices of the same dimension. The spectral distance is an overall characteristic that can be employed to compare two networks.

Value

the spectral distance between the two adjacency matrices A and B

Examples

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

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