fit2multi {autoReg}R Documentation

Make multivariable regression model by selecting univariable models with p.value below threshold

Description

Make multivariable regression model by selecting univariable models with p.value below threshold

Usage

fit2multi(fit, threshold = 0.2)

Arguments

fit

An object of class "coxph"

threshold

Numeric

Value

An object of class "coxph"

Examples

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

[Package autoReg version 0.3.3 Index]