fit2final: Make final model using stepwise backward elimination

View source: R/fit2final.R

fit2finalR 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)

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