Re: [Rpy] Principal Component Analysis using rpy

2008-02-13 Thread Thomas Walter
Hi Barry! Thank you very much for this idea ... this is actually very useful (I am also using some hierarchical clustering, and if you want to perform the single steps for whatever reason, i.e. something like: dist = r.dist(data, method="euclidean") hc = r.hclust(dist, method="ward") then you

Re: [Rpy] Principal Component Analysis using rpy

2008-02-13 Thread Thomas Walter
Thank you very much; that works. Great! Thomas. Laurent Gautier wrote: >2008/2/7, Thomas Walter <[EMAIL PROTECTED]>: > > >>Hi everybody! >> >>I am trying to use the R-function princomp (or prcomp, I tried both, but >>I get the same error anyway) in order to apply principal component >>analysi

Re: [Rpy] Principal Component Analysis using rpy

2008-02-07 Thread Barry Rowlingson
Thomas Walter wrote: > pca = r.princomp(r.t(mat), cor=True) > > Okay, this works. But if I want to use the predict functionality of > princomp, like: > pred = r.predict(pca) > > I obtain the following error: > > Traceback (most recent call last): > File "", line 1, in > rpy.RException: Erro

Re: [Rpy] Principal Component Analysis using rpy

2008-02-07 Thread Laurent Gautier
2008/2/7, Thomas Walter <[EMAIL PROTECTED]>: > Hi everybody! > > I am trying to use the R-function princomp (or prcomp, I tried both, but > I get the same error anyway) in order to apply principal component > analysis to my data. > > Now, this works fine: > > let yoyoL be a list of lists : > > yoyo