Re: [R] some simple questions regarding survival analysis

2009-09-29 Thread johannes rara
2) See packages Epi and epitools -Johannes 2009/9/29 Dmitry Gospodaryov : > I have two types of survival data for Drosophila > cohort. For example: > > uncensored > >> age <- c (0, 2, 4, 6, 8, 10) >> alive1 <- c(10, 9, 6, 3, 1, 0) >> alive 2 <- c(10, 9, 4, 1, 1, 0) > > and censored > >> age <- c(

[R] some simple questions regarding survival analysis

2009-09-29 Thread Dmitry Gospodaryov
I have two types of survival data for Drosophila cohort. For example: uncensored age <- c (0, 2, 4, 6, 8, 10) alive1 <- c(10, 9, 6, 3, 1, 0) alive 2 <- c(10, 9, 4, 1, 1, 0) and censored age <- c(0, 2, 4, 6, 8, 10) alive1 <- c(10, 8, 3, 1, 1, 0) escaped1 <- c(0, 1, 1, 0, 0, 0) alive2 <- c(10