shd: compute the Structural Hamming Distance between two adjacency...

Description Usage Arguments

View source: R/util.R

Description

Compute the Structural Hamming Distance between two adjacency matrices, that is, the distance, in terms of edges, between two network structures. The lower the shd, the more similar are the two network structures.

Usage

1
shd(g1, g2)

Arguments

g1

first adjacency matrix.

g2

second adjacency matrix.


tavazzie/bnstructScore documentation built on Dec. 23, 2021, 7:47 a.m.