cox_step: Cox model step-wise fitting

Description Usage Arguments Value

Description

Fit model by step-wise variable selection.

Usage

1
2
cox_step(x, time = "time", status = "status", surv_form = NULL,
  penalty = "AIC")

Arguments

train

: train data
time : time variable
status : status variable
method: forward, backward or both
fit : fit model: "Stepwise", "Random forest"

Value

a coxph forward Stepwise fit object


csetraynor/rstanhaz documentation built on May 9, 2019, 8:14 a.m.