fit2final {autoReg}R Documentation

Make final model using stepwise backward elimination

Description

Make final model using stepwise backward elimination

Usage

fit2final(fit, threshold = 0.2)

Arguments

fit

An object of class "coxph"

threshold

Numeric

Value

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

Examples

require(survival)
data(cancer)
fit=coxph(Surv(time,status)~age+sex+obstruct+perfor,data=colon)
final=fit2final(fit)
fit2summary(final)

[Package autoReg version 0.3.3 Index]