discr.distance: Distance

Description Usage Arguments Value Author(s)

Description

A function that returns a distance matrix given a collection of graphs. Note that this function uses the frobenius norm to compute the distance between all pairs of graphs.

Usage

1
discr.distance(graphs, method = "F")

Arguments

graphs:

[[n]][nroi, nroi] a collection of graphs for n subjects, where each graph is a square matrix.

method='F':

the method for computing distances.

'F'

use the frobenius norm between pairs of graphs

'H'

use the hellinger distance between pairs of graphs

Value

dist [n, n]: a matrix indicating the pairwise distances between all graphs passed in.

Author(s)

Eric Bridgeford


ebridge2/Discriminability documentation built on May 15, 2019, 7:48 p.m.