Re: [R] Specifying medoids in PAM?

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Wed 08 Jun 2005 - 19:32:34 EST

>>>>> "David" == David Finlayson <david.p.finlayson@gmail.com> >>>>> on Tue, 7 Jun 2005 12:11:25 -0700 writes:

    David> I am using the PAM algorithm in the CLUSTER library. 
    David> When I allow PAM to seed the medoids using the default __build__
    David> algorithm things work
    David> well:

>> pam(stats.table, metric="euclidean", stand=TRUE, k=5)

    David> But I have some clusters from a Hierarchical analysis that I would
    David> like to use as seeds for the PAM algorithm. I can't figure what the
    David> mediod argument wants. When I put in the five integer indicies for the
    David> observations in stats.table that I would like to use as seeds (the row
    David> numbers), I segfault R.

>> pam(stats.table, metric="euclidean", stand=TRUE, medoids=c(1,3,20,2,5), k=5)

    David> *** R Crashes ***

this is not very helpful.

Can you please READ the posting guide and then do as the guide says :

    David> Here is my version info:
>> version

    David> _              
    David> platform i386-pc-mingw32
    David> arch     i386           
    David> os       mingw32        
    David> system   i386, mingw32  
    David> status                  
    David> major    2              
    David> minor    0.1            
    David> year     2004           
    David> month    11             
    David> day      15             
    David> language R      

    David> Any guidance would be appreciated.

    David> David

    David> -- 
    David> David Finlayson
    David> Marine Geology & Geophysics
    David> School of Oceanography
    David> Box 357940
    David> University of Washington
    David> Seattle, WA  98195-7940
    David> USA

    David> Office: Marine Sciences Building, Room 112
    David> Phone: (206) 616-9407
    David> Web: http://students.washington.edu/dfinlays
    David> ______________________________________________
    David> R-help@stat.math.ethz.ch mailing list
    David> https://stat.ethz.ch/mailman/listinfo/r-help     David> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

R-help@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 Received on Wed Jun 08 19:37:20 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:27 EST