chisq_test(ro.FloatVector(range(100)), ro.FloatVector(range(100)))
>
>
>
>
> L.
>
>
>
>
> Hao Fan wrote:
>> Hi, Laurent and list,
>>
>> Thanks a lot for all the informations! I read through your
>> discussions at
>> https://stat.ethz.
output into several elements.
>
> R allows the use of anonymous objects, but when created at the C level
> some functions appear to break. I am currently seeing this as a
> potential problem with R.
>
> One workaround is to bind your objects to a symbol in a given
> environment,
wing with rpy2-2.1dev and it worked.
>
> x = robjects.FloatVector((1,2,3))
> y = robjects.FloatVector((2,3,4))
>
> res = robjects.r['chisq.test'](x, y)
>
> I only get the following
> Warning message:
> In function (x, y = NULL, correct = TRUE, p = rep(1/length(x),
> leng
ctor((2,3,4))
>
> res = robjects.r['chisq.test'](x, y)
>
> I only get the following
> Warning message:
> In function (x, y = NULL, correct = TRUE, p = rep(1/length(x),
> length(x)), :
> Chi-squared approximation may be incorrect
>
> L.
>
>
>
&
lem is due to my wrong use of the R vector, but I
can not find it. Any hints will be mostly appreciated!
Thanks a lot in advance!
Hao
--
Hao Fan, PhD
Department of Biopharmaceutical Sciences
Mission Bay, Byers Hall
1700 4th Street, Suite 501
University of California, San Francisco
San