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
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