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

[Feature Request]: Consider parametrized removal of Total number of deaths and Total number of patients withdrawn from study due to an AE from output rows for tm_t_events_summary() #937

Open
3 tasks done
m7pr opened this issue Jan 23, 2024 · 0 comments
Labels
core enhancement New feature or request good first issue Good for newcomers

Comments

@m7pr
Copy link
Contributor

m7pr commented Jan 23, 2024

Feature description

Multiple users requested such feature, in which those lines in tm_t_events_summary()

  layout_parent_list <- add_expr(
    layout_parent_list,
    substitute(
      expr = count_values(
        dthfl_var,
        values = "Y",
        .labels = c(count_fraction = "Total number of deaths"),
        .formats = c(count_fraction = format_count_fraction),
        denom = "N_col"
      ) %>%
        count_values(
          dcsreas_var,
          values = "ADVERSE EVENT",
          .labels = c(count_fraction = "Total number of patients withdrawn from study due to an AE"),
          .formats = c(count_fraction = format_count_fraction),
          denom = "N_col"
        ),
      env = list(dthfl_var = dthfl_var, dcsreas_var = dcsreas_var)
    )
  )

are non-mandatory and parametrized by logical flag to be removed or shown in the final output

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.
@m7pr m7pr added enhancement New feature or request good first issue Good for newcomers core labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant