Lore Merdrignac wrote:
> Thanks for answering. I had already tested to split the expression
> but there is still a problem with the function survfit().
> Nevertheless this expression works with R, but I have to implement it
> with python. Indeed, I am trying to create a software for survival
> analysis using python language...
> 

  If you assign your Surv object into R and then call survfit using the 
r('expression') evaluation method it works this way:

r.assign('x',r.Surv(t,d))
r.plot(r('survfit(x)'))

  Barry

-------------------------------------------------------------------------
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

Reply via email to