DistanceMatrix: Computes a distance matrix

Description Arguments Value Author(s)

Description

Generates a matrix of manhattan or hellinguer distances between the rows of two pollen sequences.

Arguments

sequences

A list produced by the function PrepareInputSequences.

method

Either "manhattan" computed as sum(abs(x - y)), "hellinger" computed as sqrt(1/2 * sum(sqrt(x)-sqrt(y))^2), or "euclidean", computed as sqrt(sum((x - y)^2)).

Value

A matrix with manhattan or hellinger distances among cases of the sequences contained in the list sequences. The sequence sequence.A will define the rows, and sequence.B will define the columns.

Author(s)

Blas Benito <blasbenito@gmail.com>


IGNEX/IgnexCompare documentation built on May 8, 2019, 10:53 a.m.