Description Usage Arguments Value
Calculates the distance between a cluster of vectors and a single vector
1 | calc.dist.clust.point(clust, pnt, type = "single", dist.type = "spearman")
|
clust |
An (n by m) matrix representing $m$ vectors ($n$ realizations for $m$ random variables) in a cluster. |
pnt |
An $n$ vector representing a single random variable, or a single point |
type |
The type composite distance, “single", “complete" or “average" |
dist.type |
distance type “spearman", "pearson" or “euclid" |
A numeric value, the distance between pnt to clust.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.