mysurvregSimple {autoReg}R Documentation

Fit Simple AFT Model

Description

Fit Simple AFT Model

Usage

mysurvregSimple(fit, threshold = 0.2, digits = 2, mode = 1)

Arguments

fit

An object of class survreg

threshold

numeric p-value threshold to enter multiple model

digits

integer indicating the position decimal place

mode

integer

Value

An object of class "data.frame"

Examples

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

[Package autoReg version 0.3.3 Index]