Thanks to Dr. James Holtman, Dr. Ripley, and Dr. McKenzie for pointing out
the existence
of objects of class="list". With this in mind I have been successful at
storing many iterations
of the output from survdiff( ), using the code:
survdiff.collection <- vector("list", 21)
rho.value <- rep(NA,21)
for(i in 1:21){
rho.value[i] <- 1-.1*(i-1)
survdiff.collection[[i]] <-
survdiff(Surv(Time.of.Death,Event.Status)
~Dose.Group,data=Data.Frame,rho=rho.value[i])
}
As a general comment, I would like to say that this list is wonderful
resource; it's amazing that
it's free.
David Paul, Ph.D.
Battelle Memorial Institute
505 King Avenue
Columbus, OH 43201
614.424.3176
|