• Refined the handle of isValidAndUnreserved().
  • Enhanced the forester() to render labels better.
  • Add utf8 as dependency to try passing check.
  • Fixed changable ALL group in ezcox_group().
  • Supported interaction term in controls option.

library(survival)
library(ezcox)

lung$ph.ecog <- factor(lung$ph.ecog)
ezcox(lung, covariates = c("age"), controls = "sex:ph.ecog")
ezcox(lung, covariates = c("age", "wt.loss"), controls = "sex:ph.ecog")

show_forest(lung, covariates = c("age", "wt.loss"), controls = "sex:ph.ecog")

lung2 <- lung
lung2$sex <- ifelse(lung2$sex == 1, "M", "F")
ezcox_group(lung2, grp_var = "sex", covariate = "ph.ecog", controls = "age : wt.loss")
  • Added forester().
  • Used roxytest for unit testing.
  • Added code to panel function to support new feature from forest_model().

library(survival)
library(ezcox)

lung$ph.ecog <- factor(lung$ph.ecog)
# Build unvariable models
# and show global p value for each model
# aside the 'reference' label.
show_forest(lung, covariates = c("age", "sex", "ph.ecog"), show_global_p = "aside")
  • Tried fixing CRAN checking issue.
  • Added ezgrp() for group cox analysis.
  • Added headings control.
  • Fixed bug about showing model with unvalid R variable names.
  • Supported other parameters in coxph.
  • Add function show_forest, which is a wrapper of function ezcox, get_models and show_models.
  • Fix the bug that a NA is added to model names when no control
  • Add ‘auto’ option for filtering
  • Add verbose option. This may speed up parallel computation.
  • Parallel computation is implemented in parallel option by furrr package.
  • The first experimental version submitted to CRAN.
  • Added a NEWS.md file to track changes to the package.