relDistances: Relative Distances

Description Usage Arguments Value Author(s)

Description

Calculates the relative distances between all rows of a matrix containing data.

Usage

1
relDistances(data, defined)

Arguments

data

A matrix containing the data points as row vectors.

defined

A row vector containing 1 for all columns of data to be used. If missing, all columns are used.

Value

dd

A matrix containing the relative distances between a row of data and all other rows in the corresponding row.

dv

An upper triangular matrix containing the relative distances between the rows of data.

Author(s)

Raphael Paebst


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