[R] Survival

Göran Broström goran.brostrom at gmail.com
Tue Jun 27 19:17:22 CEST 2006


On 6/27/06, Michela Ballardini <m.ballardini at ior-forli.it> wrote:
> Dear all,
> I write to know if it possible to know the number of censor subject in function of time. I run:
> os<-survfit(Surv(datios$time,datios$status))
>
> summary(os)
>
> but it give me only the nomber of events.
> Can you help me?

Well, if you know the number of events, you can find the number of
censored observations by subtracting the number of events from the
number of observations.

If you want complete statistics from all risksets (at event times),
consider the function 'risksets' in the package 'eha'.

Göran

> Thanke you
> Michela
>
>
> **************************************
> Dr.ssa Michela Ballardini
> Unità di Biostatistica e Sperimentazioni Cliniche
> c/o Osp. Morgagni-Pierantoni - Pad. Valsalva
> Via Forlanini, 34
> 47100 Forlì
> Tel 0543-731836
> Tel/Fax 0543-731612
> **************************************
>
>
>         [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>


-- 
Göran Broström



More information about the R-help mailing list