Learn R Programming

popgraph (version 1.4)

test_congruence: Returns distance congruence between the two graphs

Description

This function makes the shortest path matrices for both graphs and determines the correlation between pairwise distance.

Usage

test_congruence(graph1, graph2, method = c("distance", "combinatorial")[1])

Arguments

graph1
An object of type igraph or popgraph
graph2
An object of type igraph or popgraph
method
An option on how congruence is to be estimated possible values are 'distance' (a measure of similarity in separation of nodes independent of connectivity, the default) 'structural' a measure of similarity in actual edges, and 'combinatorial' a combinatorial measure of similarity.

Value

A non-parametric rank sum test