Displaying 1 result from an estimated 1 matches for "r8cluster".
Did you mean:
28cluster
2008 Jun 04
1
possible bug in flexclust
...XP; RODBC_1.2-3
code snippet:
r8 <- stepFlexclust(df,8,nrep=100,FUN=kcca, family=kccaFamily("kmedians"))
summary(r8) ## returns cluster sizes of 51, 115, 218, 73, 118, 140, 311,
and 118
trev <- data.frame(r8@cluster)
sqlSave(ch, trev, rownames="unitid")
in MySQL:
select r8cluster, count(*) from trev group by 1 order by 1 ## returns
cluster sizes of 51, 116, 217, 73, 117, 140, 312, 118
problem:
4 of the 8 clusters differ in sizes. They're close but I'd think they should
be exact.
So ... bug or not a bug? It'd be nice if I was just doing something wrong.
Tha...