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 24, 2024
1 parent 821a4bd commit bd5421e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/ard_missing.survey.design.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ ard_missing.survey.design <- function(data,
)
cards::fill_formula_selectors(
data$variables[variables],
statistic = formals(asNamespace("cards")[["ard_missing.survey.design"]])[["statistic"]] |> eval()
statistic = formals(asNamespace("cardx")[["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()
stat_label = formals(asNamespace("cardx")[["ard_missing.survey.design"]])[["stat_label"]] |> eval()
)

stats_available <- c(
Expand Down

0 comments on commit bd5421e

Please sign in to comment.