cmdist: Correlation matrix distance

Description Usage Arguments Value

Description

Computes the correlation matrix distance between two correlation matrices.

Usage

1
cmdist(r1, r2, type = c("network", "node"), metric = c("angle", "cosine"))

Arguments

r1

The first correlation matrix

r2

The second correlation matrix

type

whether to compute statistics at the network or node level

metric

whether to use the angular distance or the cosine distance

Value

A number or vector of distances, depending on the type of computation specified.


nwisn/cmdnet documentation built on May 30, 2019, 12:47 p.m.