Hi,
I have already posted a first problem of "NO_CONVERSION" with the package
SURVIVAL. But I still have a problem by using the function survfit() of the
package.
Here is the code :
>>> from rpy import *>>> r.library("survival")>>>
>>> set_default_mode(NO_CONVERSION)>>> d=r.rep(1,41)>>> t=r.c( r.rep(6,5),
>>> r.rep(9,3) , r.rep(12,24), r.rep(15,9) )>>>
>>> r.plot(r.survfit(r.Surv(t,d)))Traceback (most recent call last): File
>>> "<interactive input>", line 1, in ?RPy_RException: Erreur dans parse(text =
>>> paste(deparse(call[[2]]), 1, sep = "~")) : unexpected numeric constant
>>> dans :"structure(c(6L, 6L, 6L, 6L, 6L, 9L, 9L, 9L, 12L, 12L, 12L, 12L,
>>> ~112L"
Is there anything I am doing wrong ? I really need this function to complete my
survival analysis... I would really appreciate if anyone could help me.
Thanks.
Lore.
_________________________________________________________________
Votre contact a choisi Hotmail, l'e-mail nouvelle génération. Créez un compte.
http://www.windowslive.fr/hotmail/default.asp
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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