From 61673e3b016db667ea06c9536c98798ac62ba129 Mon Sep 17 00:00:00 2001 From: Daniel Sjoberg Date: Tue, 25 Jun 2024 08:26:08 -0700 Subject: [PATCH] correct docs --- R/ard_dichotomous.survey.design.R | 8 ++++++-- man/ard_dichotomous.survey.design.Rd | 5 +++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/R/ard_dichotomous.survey.design.R b/R/ard_dichotomous.survey.design.R index dd96f2b39..0bc620852 100644 --- a/R/ard_dichotomous.survey.design.R +++ b/R/ard_dichotomous.survey.design.R @@ -22,8 +22,12 @@ ard_dichotomous.survey.design <- function(data, denominator = c("column", "row", "cell"), fmt_fn = NULL, stat_label = everything() ~ list( - p = "%", p.std.error = "SE(%)", deff = "Design Effect", - "n" = "Unweighted n", "N" = "Unweighted N", "p" = "Unweighted %" + p = "%", + p.std.error = "SE(%)", + deff = "Design Effect", + "n_unweighted" = "Unweighted n", + "N_unweighted" = "Unweighted N", + "p_unweighted" = "Unweighted %" ), ...) { set_cli_abort_call() diff --git a/man/ard_dichotomous.survey.design.Rd b/man/ard_dichotomous.survey.design.Rd index 862472639..f2fddcd73 100644 --- a/man/ard_dichotomous.survey.design.Rd +++ b/man/ard_dichotomous.survey.design.Rd @@ -13,8 +13,9 @@ "N_unweighted", "p_unweighted"), denominator = c("column", "row", "cell"), fmt_fn = NULL, - stat_label = everything() ~ list(p = "\%", p.std.error = "SE(\%)", deff = - "Design Effect", n = "Unweighted n", N = "Unweighted N", p = "Unweighted \%"), + stat_label = everything() ~ everything() ~ list(p = "\%", p.std.error = "SE(\%)", deff + = "Design Effect", n_unweighted = "Unweighted n", N_unweighted = "Unweighted N", + p_unweighted = "Unweighted \%"), ... ) }