jaccard.dist: Calculates the Jaccard distance

View source: R/SourceCodePTNWNeu.R

jaccard.distR Documentation

Calculates the Jaccard distance

Description

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

Usage

jaccard.dist(A, B)

Arguments

A, B

adjacency matrices of the same dimension

Details

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

Value

the Jaccard 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"))
jaccard.dist(A,B)

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