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

[Rpy] Principal Component Analysis using rpy

2008-02-07 Thread Thomas Walter
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 : yoyoL = [ [0.0592, 0.0126, 0.08351, 0.01857, 0.02188], [ ... ], .

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