I can’t find a simple library function for k-centers clustering using R, whereas I could for k-means (kmeans()) and hierarchical clustering (hclust()).
Is there a library function for simple greedy k-centers clustering using R as depicted in this post
If not – as I am new to R – how would one go about implementing it (I understand the logic – just not how to actually write it in R code).
Try
kmeanswithmethod = "centers".If this is not what you are looking for, then CRAN has a cluster Task View with dozens of packages at http://cran.r-project.org/web/views/Cluster.html.