cluster.ratio_KM: Ratio of within and between tropical measures for k-means...

View source: R/KM.bet.wit.ratio.R

cluster.ratio_KMR Documentation

Ratio of within and between tropical measures for k-means clusters

Description

Ratio of within and between cluster tropical measures for k-means derived clusters

Usage

cluster.ratio_KM(A, C, method = mean)

Arguments

A

matrix of tropical points; rows are points

C

number of clusters

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


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)

TML documentation built on Sept. 11, 2024, 6:19 p.m.