| fastEucCalc | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.