[R] Using clustering functions

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Sep 8 19:07:18 CEST 2007



uv wrote:
> Hi. I need to use a few different clustering functions. I managed to run the
> kmeans() one which is in my "stats" library, but I can't use any function,
> such as agnes(), that is in my "cluster" library. Any idea how to access
> other libraries? 
> Thanks!


Both "stats" and "cluster" are packages, not libraries.
You need to call library("cluster") in order to load package cluster 
from your library before using agnes() and her friends.


Uwe Ligges



More information about the R-help mailing list