s-news
[Top] [All Lists]

Summary: Storage of objects of class=survdiff

To: "'s-news@lists.biostat.wustl.edu'" <s-news@lists.biostat.wustl.edu>
Subject: Summary: Storage of objects of class=survdiff
From: "Paul, David A" <paulda@BATTELLE.ORG>
Date: Tue, 25 Jun 2002 16:08:37 -0400
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


<Prev in Thread] Current Thread [Next in Thread>
  • Summary: Storage of objects of class=survdiff, Paul, David A <=