[R] kmeans

Roger Bivand Roger.Bivand at nhh.no
Tue Feb 28 18:02:16 CET 2006


On Tue, 28 Feb 2006, David Bitner wrote:

> Is there any way that I can assure that kmeans always returns the same
> result for the same data by locking down the random number generator
> or anything else?

?set.seed

> 
> David
> 
> ______________________________________________
> 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
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-help mailing list