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.tho...@utoronto.ca  Tel: 416.864.5776  Fax: 416.864.3016

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to