View source: R/KM.bet.wit.ratio.R
cluster.ratio_KM | R Documentation |
Ratio of within and between cluster tropical measures for k-means derived clusters
cluster.ratio_KM(A, C, method = mean)
A |
matrix of tropical points; rows are points |
C |
number of clusters |
method |
method to use for within cluster measure; mean or max |
vector of ratios for each cluster
David Barnhill david.barnhill@nps.edu
David Barnhill, Ruriko Yoshida (2023). Clustering Methods Over the Tropically Convex Sets.
hars<-Sim_points
cls<-c(rep(1,50),rep(2,50),rep(3,50))
cl_pt<-cbind(hars,cls)
C<-3
cluster.ratio_KM(cl_pt,C,method=mean)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.