survreg2final: Make final model using stepwise backward elimination

View source: R/fit2final.R

survreg2finalR Documentation

Make final model using stepwise backward elimination

Description

Make final model using stepwise backward elimination

Usage

survreg2final(fit, threshold = 0.2)

Arguments

fit

An object of class "survreg"

threshold

Numeric

Value

An object of class "survreg" which is described in survreg

Examples

require(survival)
data(cancer)
fit=survreg(Surv(time,status)~rx+age+sex+obstruct+perfor,data=colon)
survreg2final(fit)

autoReg documentation built on Nov. 14, 2023, 9:07 a.m.