Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tbl_continuous() without by doesn't have the header N in the ARD #1803

Open
ddsjoberg opened this issue Jul 6, 2024 · 0 comments
Open

tbl_continuous() without by doesn't have the header N in the ARD #1803

ddsjoberg opened this issue Jul 6, 2024 · 0 comments

Comments

@ddsjoberg
Copy link
Owner

I wonder if I should incorporate the total N ARD from cards cards::ard_total_n()? We could add this to all the summary tbls?

We want to be able to remove this line from tbl_ard_continuous() (and similar code from ard_continuous())

  # if `by` is missing, then remove Ns since they are not in the ARD by default
  if (is_empty(by)) {
    x$table_styling$header <- x$table_styling$header |>
      dplyr::mutate(across(c("modify_stat_N", "modify_stat_n"), ~NA_integer_))
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant