search for: flag_death

Displaying 2 results from an estimated 2 matches for "flag_death".

2007 Nov 13
2
plotting coxph results using survfit() function
i want to make survival plots for a coxph object using survfit function. mod.phm is an object of coxph class which calculated results using columns X and Y from the DataFrame. Both X and Y are categorical. I want survival plots which shows a single line for each of the categories of X i.e. '4' and 'C'. I am getting the following error: > attach(DataFrame) >
2007 Nov 23
0
R users in Cyprus
...levels and also the values of Y don't have any significance in my case. Is there a way of doing what i want to do i.e. getting separate survival curves for each level of X using the function survfit() on an object mod.phm which is a coxph object such that: mod.phm<-coxph(formula=Surv(time,Flag_Death)~X+Y, data= datFrame) ------------------------------ Message: 25 Date: Wed, 21 Nov 2007 15:31:31 +0100 From: Gabor Csardi <csardi at rmki.kfki.hu> Subject: Re: [R] Packages - a great resource, but hard to find the right one. To: John Sorkin <jsorkin at grecc.umaryland.edu> Cc: r...