Skip to content

Commit

Permalink
Update ard_missing.survey.design.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Jun 26, 2024
1 parent f9dc753 commit 103cca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ard_missing.survey.design.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 |>
Expand Down

0 comments on commit 103cca9

Please sign in to comment.