relDistance2All: RelativeDistance2All

Description Usage Arguments Value Author(s)

View source: R/relDistance2All.R

Description

Calculates the relative distaces between a data point and the rest of the data.

Usage

1
relDistance2All(x, data, defined)

Arguments

x

A row vector, containing a data point.

data

A matrix containing data points as row vectors.

defined

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

Value

dv

A vector containing the relative distances between x and all rows of data.

Author(s)

Raphael Paebst


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