Re: [R] Coxph with factors

From: Adaikalavan Ramasamy <ramasamy_at_cancer.org.uk>
Date: Fri 15 Jul 2005 - 17:58:19 EST

Yes, and please show us a reproducible example or small section of the data as well as the error output.

On Thu, 2005-07-14 at 15:36 +0000, Dieter Menne wrote:
> Kylie-Anne Richards <kar <at> itga.com.au> writes:
>
> >
> > I am fitting a coxph model with factors. I am running into problems when
> > using 'survfit'. I am unsure how R is treating the factors when I fit, say:
> > > DATA<-data.frame(time.sec,done,f.pom=factor(f.pom),po,vo)
> > > final<-coxph(Surv(time.sec,done)~f.pom*vo+po,data=DATA)
> > > final.surv<-survfit((final), individual=T,conf.type="log-log")
> > > print(final.surv)

> ....
>
> Better chances to get a reply when you tell us what problems you are running
> into.
>
> Dieter Menne
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 15 18:03:53 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:43 EST