[R] Specifying medoids in PAM?
Martin Maechler
maechler at stat.math.ethz.ch
Wed Jun 8 11:32:34 CEST 2005
>>>>> "David" == David Finlayson <david.p.finlayson at 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 :
- post a *reproducible* example
- tell more about what happens when "R Crashes"
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 at 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
More information about the R-help
mailing list