[Just to stress that an issue similar to the one with NA_LOGICAL, fixed
with 2.0.2, is *not* present here]
'FALSE' rather than False in the Python code is indeed the cause of the
problem, but parameters in the signature of the function are not typed.
'FALSE' is passed to R as a string "FALSE",
'FALSE' is a string, which somehow when converted to a boolean
evaluates as True.
How do you like:
>>> kwargs={'df':25,'lower.tail':False}
>>> print ro.r['qt'](0.05, **kwargs)
[1] 1.708141
2009/2/4 Lindsey Bangay :
> HI
>
> I am new to rpy2, but I would appreciate some assistance on this probl
HI
I am new to rpy2, but I would appreciate some assistance on this problem
I want to calculate the quantile of the t-distribution, using the upper tail:
>>>import rpy2.robjects as ro
>>>kwargs={'df':25,'lower.tail':'FALSE'}
>>>print ro.r['qt'](0.05, **kwargs)
but this is what I get :
Warning m