sequentialDistances: SequentialDistances

Description Usage Arguments Value Author(s)

View source: R/sequentialDistances.R

Description

Returns a vector containing in a row the distances of consecutive rows of data.

Usage

1

Arguments

data

A matrix containing the data as row vectors.

distance

The distance measure to be used, default is euclidean

Value

seqDist

A vector containing the distances between rows of data. seqDist[1] is the distance between data[1,] and data[2,]

Author(s)

Raphael Paebst


Mthrun/Distances documentation built on Feb. 4, 2020, 8:39 p.m.