Re: [Rpy] package : survival

2008-02-28 Thread Gregory Warnes
> survPlot = r.get("plot.survfit", envir=r.getNamespace("survival")) >>> survPlot(sf) Traceback (most recent call last): File "", line 1, in ? NameError: name 'sf' is not defined Lore. > Date: Wed, 27 Feb 2008 11:48:12 +0100 > From: [EMAIL

Re: [Rpy] package : survival

2008-02-27 Thread Lore Merdrignac
It works like Barry told me to do. Thanks a lot for your time :) Lore. > Date: Wed, 27 Feb 2008 12:24:53 +0100> From: [EMAIL PROTECTED]> To: > rpy-list@lists.sourceforge.net> Subject: Re: [Rpy] package : survival> > > 2008/2/27, Lore Merdrignac <[EMAIL PROTECTED]&g

Re: [Rpy] package : survival

2008-02-27 Thread Laurent Gautier
variable name is 'ss'). Anyway, because of the error that variable will obviously not be created (and I was shooting in the dark, thinking that the error was coming from the call to "plot"... now we know that it is coming from "survfit"). Out of curiosity, what is sayin

Re: [Rpy] package : survival

2008-02-27 Thread Lore Merdrignac
THANKS ! :D It works, thanks a lot. > Date: Wed, 27 Feb 2008 11:22:34 +> From: [EMAIL PROTECTED]> To: > rpy-list@lists.sourceforge.net> Subject: Re: [Rpy] package : survival> > Lore > Merdrignac wrote:> > Thanks for answering. I had already tested to

Re: [Rpy] package : survival

2008-02-27 Thread Barry Rowlingson
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 > anal

Re: [Rpy] package : survival

2008-02-27 Thread Lore Merdrignac
): File "", >>> line 1, in ?NameError: name 'sf' is not defined Lore. > Date: Wed, 27 Feb 2008 11:48:12 +0100> From: [EMAIL PROTECTED]> To: > rpy-list@lists.sourceforge.net> Subject: Re: [Rpy] package : survival> > > 2008/2/27, Lore Merdrignac

Re: [Rpy] package : survival

2008-02-27 Thread Laurent Gautier
2008/2/27, Lore Merdrignac <[EMAIL PROTECTED]>: > > 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")

[Rpy] package : survival

2008-02-27 Thread Lore Merdrignac
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