coef(summary(fit_cox)) should give you what you wanted.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA
On Tue, Nov 3, 2009 at 12:31 AM, 孟欣 lm_meng...@163.com wrote:
Hi all:
To extract various portions of the coxph standard printout, look at
summary.coxph
help('summary.coxph')
fit - coxph(...
sfit - summary(fit)
Terry Therneau
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
Hi all:
I finished cox analysis like this:
fit_cox-coxph(Surv(dat$Time, dat$death) ~ dat$CD4 +
strata(dat$gender),data=dat);
fit_cox
Call:
coxph(formula = Surv(data_ori$Time, data_ori$death) ~ data_ori$drug +
strata(data_ori$gender), data = data_ori)
coef exp(coef)
3 matches
Mail list logo