From 20d2dca2ad4df10db4e24d253f0dcc28cf5f2379 Mon Sep 17 00:00:00 2001 From: Daniel Sjoberg Date: Fri, 14 Jun 2024 09:01:51 -0700 Subject: [PATCH] Update ard_missing.survey.design.R --- R/ard_missing.survey.design.R | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/R/ard_missing.survey.design.R b/R/ard_missing.survey.design.R index 40d7613f4..30323ac2e 100644 --- a/R/ard_missing.survey.design.R +++ b/R/ard_missing.survey.design.R @@ -61,6 +61,10 @@ ard_missing.survey.design <- function(data, data$variables[variables], statistic = formals(asNamespace("cards")[["ard_missing.survey.design"]])[["statistic"]] |> eval() ) + cards::fill_formula_selectors( + data$variables[variables], + stat_label = formals(asNamespace("cards")[["ard_missing.survey.design"]])[["stat_label"]] |> eval() + ) stats_available <- c( "N_obs", "N_miss", "N_nonmiss", "p_miss", "p_nonmiss",