Re: [Rpy] Error using phyper with rpy2

2009-11-23 Thread Laurent Gautier
Peter wrote: > On Mon, Nov 23, 2009 at 1:57 PM, B.A.D.C.M.D Santos wrote: >> This is probably just a stupid problem but for some reason I can't find a >> solution anywhere. >> >> I am trying to use phyper from R using rpy2. The problem is that when I try >> to run the following code: [code] self.p

Re: [Rpy] Error using phyper with rpy2

2009-11-23 Thread Peter
On Mon, Nov 23, 2009 at 1:57 PM, B.A.D.C.M.D Santos wrote: > > This is probably just a stupid problem but for some reason I can't find a > solution anywhere. > > I am trying to use phyper from R using rpy2. The problem is that when I try > to run the following code: [code] self.phyper = robjects.r

[Rpy] Error using phyper with rpy2

2009-11-23 Thread B.A.D.C.M.D Santos
This is probably just a stupid problem but for some reason I can't find a solution anywhere. I am trying to use phyper from R using rpy2. The problem is that when I try to run the following code: [code] self.phyper = robjects.r('phyper') ' ' ' nPvalue=1-self.phyper(k,21,440,n,lower_tail=False)[