Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

Re: [R] Coxph with factors

Dieter Menne

2005-07-14

Replies:

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@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
©2008 r-help.com - Jax Systems, LLC, U.S.A.