Learn R Programming

popgraph (version 1.0)

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 population_graph
graph2
An object of type igraph or population_graph
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 c

Value

  • A non-parametric rank sum test