[R] coxph.detail() does not work

From: Zhen Zhang <momozilla_at_gmail.com>
Date: Wed 14 Sep 2005 - 05:34:39 EST

Hello everyone,

I tried to use coxph.detail() to get the hazard function. But a warning messge always returns to me, even in the example provided by its help document:

> ?coxph.detail
> fit <- coxph(Surv(futime,fustat) ~ age + rx + ecog.ps, ovarian, x=TRUE)
> fitd <- coxph.detail(fit)
Warning message:
data length [37] is not a sub-multiple or multiple of the number of rows [12] in matrix

Can anyone suggest why it does not work?

I use R 2.1.1 with Windows XP

Thanks a lot.

Zhen Zhang

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 Wed Sep 21 02:44:31 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:16 EST