Hi,

I'm having the following loop:

result <- vector("list",100)
for (i in 1:max(dat$simNumber))
{  result[[i]]<-survfit(Surv(dat[dat$simNumber==i,]$TAFD,dat[dat$simNumber==i,]$DV)~1)

}

In a next step, I would like to calculate the mean, 5% and 95% PI of the Kaplan-Meier estimates of the 100 simulated problems stored under result in the result[[i]]$surv.

Can anyone help me with this?

Tx!



Notice:  This e-mail message, together with any attachme...{{dropped:14}}

