View source: R/trop.clus.within.R
trop_wi_dist | R Documentation |
This function calculates a within cluster measure by measuring the pairwise tropical distance between points in the cluster.
trop_wi_dist(D1, method = mean)
D1 |
matrix of tropical points; rows are points |
method |
function; metric to measure; mean is the average pairwise tropical distance; max is the maximum pairwise tropical distance |
within cluster measure
David Barnhill david.barnhill@nps.edu
David Barnhill, Ruriko Yoshida (2023). Clustering Methods Over the Tropically Convex Sets.
D<-Sim_points
avg.m<-trop_wi_dist(D, method=mean)
max.m<-trop_wi_dist(D, method=max)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.