get_models {ezcox} | R Documentation |
Get Model List from ezcox Object
Description
Models are renamed by the formulas.
Usage
get_models(x, variables = NULL)
Arguments
x |
a |
variables |
a character vector representing variables to select. |
Value
a named list
with class ezcox_models
Examples
library(survival)
zz <- ezcox(lung, covariates = c("sex", "ph.ecog"), controls = "age", return_models = TRUE)
mds <- get_models(zz)
str(mds, max.level = 1)
[Package ezcox version 1.0.4 Index]