From c031e14b44d1b8e0f006fd7c3018f2328616d903 Mon Sep 17 00:00:00 2001 From: ayogasekaram Date: Mon, 30 Sep 2024 12:35:09 +0000 Subject: [PATCH 1/3] add var_labels argument to estimate_odds_ratio() --- R/odds_ratio.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/odds_ratio.R b/R/odds_ratio.R index 2f4a38d2fe..eccdccc1b1 100644 --- a/R/odds_ratio.R +++ b/R/odds_ratio.R @@ -196,6 +196,7 @@ estimate_odds_ratio <- function(lyt, ..., show_labels = "hidden", table_names = vars, + var_labels = vars, .stats = "or_ci", .formats = NULL, .labels = NULL, @@ -214,6 +215,7 @@ estimate_odds_ratio <- function(lyt, lyt, vars, afun = afun, + var_labels = var_labels, na_str = na_str, nested = nested, extra_args = extra_args, From 9a7fc02bdfefb08eadfce592944a074a265a3526 Mon Sep 17 00:00:00 2001 From: ayogasekaram Date: Mon, 30 Sep 2024 12:36:18 +0000 Subject: [PATCH 2/3] update documentation --- man/odds_ratio.Rd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man/odds_ratio.Rd b/man/odds_ratio.Rd index 478a18c562..ee88612e3b 100644 --- a/man/odds_ratio.Rd +++ b/man/odds_ratio.Rd @@ -18,6 +18,7 @@ estimate_odds_ratio( ..., show_labels = "hidden", table_names = vars, + var_labels = vars, .stats = "or_ci", .formats = NULL, .labels = NULL, @@ -71,6 +72,8 @@ underneath analyses, which is not allowed.} \item{table_names}{(\code{character})\cr this can be customized in the case that the same \code{vars} are analyzed multiple times, to avoid warnings from \code{rtables}.} +\item{var_labels}{(\code{character})\cr variable labels.} + \item{.stats}{(\code{character})\cr statistics to select for the table. Run \code{get_stats("estimate_odds_ratio")} to see available statistics for this function.} From 21858d94dde202a377bc8e9fba2c91b1bbf92a94 Mon Sep 17 00:00:00 2001 From: "27856297+dependabot-preview[bot]@users.noreply.github.com" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:39:39 +0000 Subject: [PATCH 3/3] [skip roxygen] [skip vbump] Roxygen Man Pages Auto Update --- man/try_car_anova.Rd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/try_car_anova.Rd b/man/try_car_anova.Rd index a81cde8287..b3ba87bf83 100644 --- a/man/try_car_anova.Rd +++ b/man/try_car_anova.Rd @@ -9,12 +9,12 @@ try_car_anova(mod, test.statistic) \arguments{ \item{mod}{\code{lm}, \code{aov}, \code{glm}, \code{multinom}, \code{polr} \code{mlm}, \code{coxph}, \code{coxme}, \code{lme}, \code{mer}, \code{merMod}, \code{svyglm}, \code{svycoxph}, - \code{rlm}, or other suitable model object.} + \code{rlm}, \code{clm}, \code{clmm}, or other suitable model object.} \item{test.statistic}{for a generalized linear model, whether to calculate \code{"LR"} (likelihood-ratio), \code{"Wald"}, or \code{"F"} tests; for a Cox or Cox mixed-effects model, whether to calculate \code{"LR"} (partial-likelihood ratio) or - \code{"Wald"} tests; in the default case or for linear mixed models fit by + \code{"Wald"} tests (with \code{"LR"} tests unavailable for Cox models using the \code{tt} argument); in the default case or for linear mixed models fit by \code{lmer}, whether to calculate Wald \code{"Chisq"} or Kenward-Roger \code{"F"} tests with Satterthwaite degrees of freedom (\emph{warning:} the KR F-tests can be very time-consuming).