Description Usage Arguments Value Examples
View source: R/04_comparison_metrics.R
Calculates the Euclidean distance between each pair of points in two dataframes as returned by extractClusters or getImageHist and returns the sum of the distances.
1  colorDistance(T1, T2)

T1 
Dataframe (especially a dataframe as returned by

T2 
Another dataframe like T1. 
Sum of Euclidean distances between each pair of points (rows) in the provided dataframes.
1 2 3 4 5  ## Not run: cluster.list < colordistance::getHistList(system.file("extdata",
"Heliconius/Heliconius_B", package="colordistance"), lower=rep(0.8, 3),
upper=rep(1, 3))
colordistance:::colorDistance(cluster.list[[1]], cluster.list[[2]])
## End(Not run)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.