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)[0] [/code] I get an error: Error in function (q, m, n, k, lower.tail = TRUE, log.p = FALSE) : unused argument(s) (lower_tail = FALSE) Can someone tell what am I doing wrong? Thank you in advance, Bruno ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list