[R] survfit function

Greg Snow 538280 at gmail.com
Thu Jun 28 16:35:38 CEST 2012


Try: survfit(Surv(Time, 1-Status)~1)

On Wed, Jun 27, 2012 at 5:37 AM, niloo javan <niloo_javan at yahoo.com> wrote:
>
>
> Hello
>
> In (survfit(Surv(Time,Status)~1))
>
> I want to have status=0 as Failure and status=1 as Censore.
>
> Changing above formula to (survfit(Surv(Time,Status)~0)) doesnot help!!
> What should i do?
> Thank You.
>
>
> _________________
> Best Regards
>
> Niloofar.Javanrouh
> MSc Of BioStatistics
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at 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.
>



-- 
Gregory (Greg) L. Snow Ph.D.
538280 at gmail.com



More information about the R-help mailing list