[R] distance method in kmeans

Bettina Gruen gruen at ci.tuwien.ac.at
Mon Apr 23 08:05:25 CEST 2007


Chandra,

you might want to have a look at package "flexclust".

Best,
Bettina

Ranga Chandra Gudivada wrote:
> I am trying to cluster some binary data using k-means . As the regular "kmeans" available from stats package in R does'nt provide the option to change the distance method. I was wondering there is any package available to specify type of distance measure to be used in k means clustering in  R. Especially distances like "Jaccard" which is good for binary data. 
>    
>                Thanks chandra
> 
>        
> ---------------------------------
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
>



More information about the R-help mailing list