So I have a study of 6 mice who are infected with plasmodium over a course of 7 days, I start with day five which is after checking the infection level ,and the first mice dies at day 12 ,second mice at day 16,third mice at day 9,fourth mice at day 9 as well ,fifth mice at dies at day 11,the sixth mice dies at day 11.
So now I have to plot this data in R ,can anyone let me know how to do that I see I have to construct a survival object Im not sure how its being done .Please let know how to do that?
I know how to do from the sample data Im not sure how these survival objects are being created ? Please help
so this is my data the number of days in the above and the number of subjects are 6
Have you tried googling for guidelines? I find multiple hits for
Kaplan-Meier survival analysis in R
Yes I did but I cannot figure how they are making this " my.events <-c(1,0,0,1,0,1,1,0,0,0,1,1,1,1,0,1,0,0)" I mean this with respect to the time or the days to death ?
isn't it with respect to live/dead status at the end of the experiment?
yes with respect to live and dead but my problem is how do I create the survival object? with my data