Hi Peter,
Still not working with us:
>>> from rpy import r
(...)
>>> import Numeric
>>> c = Numeric.array([[386, 113], [385, 117], [383, 117]])
>>> c
array([[386, 113],
[385, 117],
[383, 117]])
>>> r.chisq_test(c)["p.value"]
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
RException: Erro en any(x < 0) : el objeto (list) no puede ser coercido a
'double'
This is good:
>>> Numeric.array(c)
array([[386, 113],
[385, 117],
[383, 117]])
This same problem is described here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1602142&group_id=48422&atid=453021
I do not understand the workaround described.
Any suggestion?
--
Eloi Ribeiro
eloi.ribeiro[at]gmail.com
http://eloi-ribeiro.blogspot.com
Spain, Valencia
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list