Re: [R] analysis of life tables

2004-08-16 Thread Göran Broström
On Sun, Aug 15, 2004 at 02:28:03PM +0200, Christoph Scherber wrote: > Dear all, > > How can I analyze a life table (e.g. for a cohort of insects) in R? > > I have 20 insects in 200 cages with two different treatments, whose > survival is followed over time, such that, e.g., in one treatment, the

Re: [R] analysis of life tables

2004-08-15 Thread Spencer Graves
Have you considered library(survival) including "survreg"? Also, have you "read the posting guide! http://www.R-project.org/posting-guide.html";? You might be able to get answers to many questions faster than you could from this list. And even if you don't get the answer, the posti

[R] analysis of life tables

2004-08-15 Thread Christoph Scherber
Dear all, How can I analyze a life table (e.g. for a cohort of insects) in R? I have 20 insects in 200 cages with two different treatments, whose survival is followed over time, such that, e.g., in one treatment, the number of animals surviving is c(20,18,16,12,10,8,4,0), while in the other trea