diff --git a/R/summarize_coxreg.R b/R/summarize_coxreg.R index a43e68fb4e..c0856f6ee4 100644 --- a/R/summarize_coxreg.R +++ b/R/summarize_coxreg.R @@ -104,7 +104,8 @@ NULL #' df2 <- broom::tidy(multivar_model) #' s_coxreg(model_df = df2, .stats = "pval", .which_vars = "var_main", .var_nms = "COVAR1") #' s_coxreg( -#' model_df = df2, .stats = "pval", .which_vars = "multi_lvl", .var_nms = c("COVAR1", "A Covariate Label") +#' model_df = df2, .stats = "pval", .which_vars = "multi_lvl", +#' .var_nms = c("COVAR1", "A Covariate Label") #' ) #' #' # Multivariable without treatment arm - only "COVAR1" main effect diff --git a/man/cox_regression.Rd b/man/cox_regression.Rd index 85d22c4065..1f8f04e996 100644 --- a/man/cox_regression.Rd +++ b/man/cox_regression.Rd @@ -191,7 +191,8 @@ multivar_model <- fit_coxreg_multivar(variables = m1_variables, data = dta_bladd df2 <- broom::tidy(multivar_model) s_coxreg(model_df = df2, .stats = "pval", .which_vars = "var_main", .var_nms = "COVAR1") s_coxreg( - model_df = df2, .stats = "pval", .which_vars = "multi_lvl", .var_nms = c("COVAR1", "A Covariate Label") + model_df = df2, .stats = "pval", .which_vars = "multi_lvl", + .var_nms = c("COVAR1", "A Covariate Label") ) # Multivariable without treatment arm - only "COVAR1" main effect