powered by
Make final model using stepwise backward elimination
survreg2final(fit, threshold = 0.2)
An object of class "survreg" which is described in survreg
survreg
An object of class "survreg"
Numeric
require(survival) data(cancer) fit=survreg(Surv(time,status)~rx+age+sex+obstruct+perfor,data=colon) survreg2final(fit)
Run the code above in your browser using DataLab