Displaying 1 result from an estimated 1 matches for "medeoids".
Did you mean:
medecins
2008 Dec 17
1
bug (?!) in "pam()" clustering from fpc package ?
...solute differences) ?
here is a sample code:
require(fpc)
x <- rbind(cbind(rnorm(10,0,0.5), rnorm(10,0,0.5)),
cbind(rnorm(15,5,0.5), rnorm(15,5,0.5)))
pam(x, 2, medoids = c(1,16))
output:
Medoids:
ID
[1,] 3 -0.1406026 0.1131493
[2,] 17 4.9564839 4.6480520
...
So the initial medeoids where 3 and 17, not 1 and 16 as I asked.
Thanks,
Tal
--
----------------------------------------------
Tal Galili
Phone number: 972-50-3373767
FaceBook: Tal Galili
My Blogs:
www.talgalili.com
www.biostatistics.co.il
[[alternative HTML version deleted]]