From 103cca985d196dccc8d70ba1354fba724287d128 Mon Sep 17 00:00:00 2001 From: Daniel Sjoberg Date: Wed, 26 Jun 2024 14:10:27 -0700 Subject: [PATCH] Update ard_missing.survey.design.R --- R/ard_missing.survey.design.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ard_missing.survey.design.R b/R/ard_missing.survey.design.R index 3b5d41686..8cb4ad585 100644 --- a/R/ard_missing.survey.design.R +++ b/R/ard_missing.survey.design.R @@ -104,7 +104,7 @@ ard_missing.survey.design <- function(data, ) ) |> dplyr::select(-cards::all_ard_variables("levels"), -"stat_label", -"fmt_fn") |> - dplyr::slice(1L, .by = "stat_name") + dplyr::slice(1L, .by = c(cards::all_ard_groups(), cards::all_ard_variables(), "stat_name")) # final processing of fmt_fn ------------------------------------------------- result <- result |>