Re: [R] Help on extract paramters from fitted models

2008-04-29 Thread Marc Schwartz
Lisa wrote: Hi, I have a question about how to extract paramters from a fitted model. I can extract coefficients and std, but from some other statistics, I dont know how to extract. Can anyone help? Here it is an example: coxout<-coxph(Surv(t,t.censor)~x) coxout Call: coxph(formula = Su

Re: [R] Help on extract paramters from fitted models

2008-04-29 Thread Henrique Dallazuanna
See the source code of function: getS3method("print", "coxph") is this block: tmp <- cbind(coef, exp(coef), se, coef/se, signif(1 - pchisq((coef/se)^2, 1), digits - 1)) On 4/29/08, Lisa <[EMAIL PROTECTED]> wrote: > > Hi, I have a question about how to extract paramters from a fitted model. > I