graph.diss: Graph dissimilarity

Description Usage Arguments Value References

View source: R/graphFeatures.R

Description

Dissimilarity matrix of a graph is here defined as the number of neighbors shared by any two nodes.

Usage

1
graph.diss(G, sim = FALSE, loops = FALSE)

Arguments

G

a p*p adjacency matrix (dense or sparse) of a graph.

sim

Flag to return Graph similarity instead (1-dissimilarity)

loops

Flag to consider self loops

Value

a p*p dissimilarity matrix

References

Bochkina, N. (2015). Selection of the Regularization Parameter in Graphical Models using a Priori Knowledge of Network Structure, arXiv: 1509.05326.


pulsar documentation built on May 29, 2017, 12:29 p.m.