> On Sat, 17 May 2008 00:54:55 +0200,
> cgenolin (c) wrote:
> Hi the list
> I try the flexclust, but I do not manage to see what is wrong in my
> (very simple) code...
> Will you have few minutes to check it?
> Thanks for your help.
> Christophe
> --- 8< --
Hi the list
I try the flexclust, but I do not manage to see what is wrong in my
(very simple) code...
Will you have few minutes to check it?
Thanks for your help.
Christophe
--- 8<
data <- rbind(c(1,2 ,NA,4 ),
c(1,1 ,NA,1 ),
c(2,3
> On Mon, 12 May 2008 19:24:55 +0200,
> cgenolin (c) wrote:
> Hi the devel list,
> I am using K means with a non standard distance. As far as I see, the
> function kmeans is able to deal with 4 differents algorithm, but not
> with a user define distance.
> In addition, kmeans
I would not support an extension of kmeans to do this. I think it is
best left simple and fast as it now is.
I can think of three ways you might handle your problem
1. Use, for example, pam() in the cluster package, which does a similar
job to kmeans (not quite the same, of course) with a gene