cluster.ratio_HC {TML} | R Documentation |
Ratio of within and between tropical measures for tropical hierarchical clusters
Description
Ratio of within and between cluster tropical measures for a set hierarchical clusters
Usage
cluster.ratio_HC(A, V, method = mean)
Arguments
A |
matrix of tropical points; rows are points |
V |
list of clusters where each cluster is defined as a matrix |
method |
method to use for within cluster measure; mean or max |
Value
vector of ratios for each cluster
Author(s)
David Barnhill david.barnhill@nps.edu
References
David Barnhill, Ruriko Yoshida (2023). Clustering Methods Over the Tropically Convex Sets.
Examples
har<-rbind(Sim_points[1:20,],Sim_points[51:70,])
V<-Tropical.HC.AGNES(har, method=mean)
inds<-V[[2]][[38]]
cluster.ratio_HC(har,inds,method=mean)
[Package TML version 2.3.0 Index]