fit2final | R Documentation |
Make final model using stepwise backward elimination
fit2final(fit, threshold = 0.2)
fit |
An object of class "coxph" |
threshold |
Numeric |
An object of class "coxph" which is described in coxph
require(survival)
data(cancer)
fit=coxph(Surv(time,status)~age+sex+obstruct+perfor,data=colon)
final=fit2final(fit)
fit2summary(final)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.