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.


bnstruct documentation built on July 2, 2020, 2:26 a.m.