fastEucCalc {TExPosition} | R Documentation |
Fast Euclidean distance calculations.
fastEucCalc(x, c)
x |
a set of points. |
c |
a set of centers. |
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.
a distance matrix |
Euclidean distances of each point to each center are returned. |
Hervé Abdi, Derek Beaton