powered by
Models are renamed by the formulas.
get_models(x, variables = NULL)
a named list with class ezcox_models
list
ezcox_models
a ezcox object from ezcox().
ezcox
ezcox()
a character vector representing variables to select.
library(survival) zz <- ezcox(lung, covariates = c("sex", "ph.ecog"), controls = "age", return_models = TRUE) mds <- get_models(zz) str(mds, max.level = 1)
Run the code above in your browser using DataLab