Re: [R] R help with princomp and pam clustering

2009-12-03 Thread Joris Meys
Hi Tyler, sorry, I missed your response. Don't know if it's solved already, but some remarks. the predict uses a princomp object, so your second command should work. I guess the problem is either the data format of B (should contain exactly the same amount of columns, with the same names), or the

Re: [R] R help with princomp and pam clustering

2009-11-27 Thread Tyler82
Hi JorisMeys and thanks! JorisMeys wrote: > > On Thu, Nov 26, 2009 at 1:04 AM, Tyler82 > wrote: >> >> Hi all! >> I am working with R package cluster and I have a little problem: >> let's say I have two datasets...first one ("A") is divided into 4 >> clusters >> by means of Pam algorythm. >> Le

Re: [R] R help with princomp and pam clustering

2009-11-26 Thread joris meys
On Thu, Nov 26, 2009 at 1:04 AM, Tyler82 wrote: > > Hi all! > I am working with R package cluster and I have a little problem: > let's say I have two datasets...first one ("A") is divided into 4 clusters > by means of Pam algorythm. > Let's say I want to project the second database ("B") onto the

[R] R help with princomp and pam clustering

2009-11-25 Thread Tyler82
Hi all! I am working with R package cluster and I have a little problem: let's say I have two datasets...first one ("A") is divided into 4 clusters by means of Pam algorythm. Let's say I want to project the second database ("B") onto the Comp.1 X Comp.2 graph, and see where its elements are place