Description Usage Arguments Details Value Author(s) Examples
View source: R/eDistanceW.details.R
To explain how to calculate the Euclidean distance between clusters applying weights given.
1 | edistanceW.details(cluster1, cluster2, weight)
|
cluster1 |
is a cluster. |
cluster2 |
is a cluster. |
weight |
is a numeric vector. |
The function calculates the Euclidean distance value from cluster1
and cluster2
, applying weights to the cluster's components.
Euclidean distance applying weights value. Explanation.
Roberto Alcántara roberto.alcantara@edu.uah.es
Juan José Cuadrado jjcg@uah.es
Universidad de Alcalá de Henares
1 2 3 4 5 6 7 8 9 | cluster1 <- matrix(c(1,2),ncol=2)
cluster2 <- matrix(c(1,3),ncol=2)
weight1 <- c(0.4,0.6)
weight2 <- c(2,12)
edistanceW.details(cluster1,cluster2,weight1)
edistanceW.details(cluster1,cluster2,weight2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.