Learn R Programming

netUtils (version 0.8.3)

graph_cor: Graph correlation

Description

This function computes the correlation between networks. Implemented methods expect the graph to be an adjacency matrix, an igraph, or a network object.

Usage

graph_cor(object1, object2)

# S3 method for default graph_cor(object1, object2)

# S3 method for igraph graph_cor(object1, object2, ...)

# S3 method for matrix graph_cor(object1, object2)

# S3 method for array graph_cor(object1, object2)

Value

correlation between graphs

Arguments

object1

igraph object or adjacency matrix

object2

igraph object or adjacency matrix over the same vertex set as object1

...

additional arguments