Description Usage Arguments Details Value
Calculates distance between two clusters
1 | calc.dist.clusters(clust.1, clust.2, type = "single", dist.type = "spearman")
|
clust.1 |
An (n by $m_1$) matrix of $m_1$ vectors composing a cluster |
clust.2 |
An (n by $m_2$) matrix of $m_2$ vectors composing a cluster |
type |
Clustering by |
dist.type |
type: “single”, “complete”, or “average” |
The distance between the clusters is if type = “single": the minimum of the distances between the vectors in clust.1 and the vectors in clust.2 if type = “complete": the maximum of the distances between the vectors in clust.1 and the vectors in clust.2 if type = “average": the mean of the distances between the vectors in clust.1 and the vectors in clust.2
A numeric value, the distance between clust.1 and clust.2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.