Thomas Lumley <[EMAIL PROTECTED]> writes: > > to build a linear classification model. Although the function outputs > > the z value, but I can't access to it, so that I can write code to > > extract them automatically and pass them to the next function. Can > > someone help? > > > > Use the accessor functions: > > z <- coef(model)/sqrt(diag(vcov(model))) > > as for most regression models.
However (and sorry if I sound like a broken record) it would be nice if summary.coxph, instead of just using cat(), returned an object ... as most other regression models do. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
