fastEucCalc {TExPosition}R Documentation

fastEucCalc

Description

Fast Euclidean distance calculations.

Usage

fastEucCalc(x, c)

Arguments

x

a set of points.

c

a set of centers.

Details

This function is especially useful for discriminant analyses. The distance from each point in x to each point in c is computed and returned as a nrow(x) x nrow(c) matrix.

Value

a distance matrix

Euclidean distances of each point to each center are returned.

Author(s)

Hervé Abdi, Derek Beaton


[Package TExPosition version 2.6.10.1 Index]