Description Usage Arguments Details
If there is a custom definicion of distances, it uses it. Otherwise, it computes the reciprocal distances of points in x.
1 | vecdist(x)
|
x |
a |
If there exists a matrix object named
.personal.definition.of.distances
in the global environment, the
function returns the lower triangular part of it as a vector, regardless of
x
. Otherwise, the Euclidean distances between points in x
are
returned as a vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.