Re: [R] (coxph, se) Obtaining standard errors of coefficients from coxph to store

2007-08-27 Thread joris . dewolf
David, It would be helpful to give an example of what you would like to extract. I guess you know how to extract elements from vectors and lists. However, sometimes the objects returned by functions can be rather complex (output of coxph() is...) A general method to capture printed output is

[R] (coxph, se) Obtaining standard errors of coefficients from coxph to store

2007-08-16 Thread David Lloyd
Hi all, I'm wanting to be able to find and store the z-score of coxph below: - modz=coxph(Surv(TSURV,STATUS)~RAGE+DAGE+REG_WTIME_M+CLD_ISCH+POLY_VS, data=kidneyT,method=breslow) I know summary(modz) will give me this, but how do i extract the standard error or z-score values in a similar way