JS_Distance: Function used to calculate the Jensen-Shannon between two...

Description Usage Arguments Value

View source: R/JS_Distance.R

Description

Function used to calculate the Jensen-Shannon between two graphs, i.e, the distance between eigenvalue distributions of laplacian matrix of graphs

Usage

1
JS_Distance(GRAPH1, GRAPH2, normalized = TRUE, n = 512, bw = 0.01)

Arguments

GRAPH1

graph object of igraph, undirected

GRAPH2

graph object of igraph , undirected

normalized

compute the nornalized laplacian or not

n

the number of equally spaced points at which the density is to be estimated

bw

the bandwidth of the density function

Value

a numeric value between 0 and 1


zlfccnu/econophysics documentation built on Feb. 23, 2022, 10:22 p.m.