[R] help

Kevin E. Thorpe kevin.thorpe at utoronto.ca
Fri May 17 21:04:00 CEST 2013


On 05/17/2013 02:34 PM, masumeh akhgar wrote:
> hi deer all
> Estimate KM survival probabilities for each categories of RX means
> ‘treatment’ and ‘placebo’ separately
>> surv.Rx<-survfit(Surv(SURVT,STATUS)~strata(RX),data=rem.data)
> when write that command. it doesnt run.
> what should i do?
> thanks
>

What do you mean it doesn't run?  Is there an error message?  What is 
it?  Also, you do not need to put RX in strata() in the survfit() function.


-- 
Kevin E. Thorpe
Head of Biostatistics,  Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.thorpe at utoronto.ca  Tel: 416.864.5776  Fax: 416.864.3016



More information about the R-help mailing list