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

Handling missing value when group contain missing values #13

Open
elong0527 opened this issue May 4, 2024 · 0 comments
Open

Handling missing value when group contain missing values #13

elong0527 opened this issue May 4, 2024 · 0 comments

Comments

@elong0527
Copy link
Owner

Code below will report error if there is missing values in the ARM variable.

library(metalite.table1)
metalite_table1(~ AGE + SEX + RACE + BMIBLGR1 | ARM, data = r2rtf::r2rtf_adsl, id = "USUBJID")

We need an argument missing_group to handle:

  1. `missing_group = "ignore": ignore missing value in group with proper message to user.
  2. allow user specify missing as a separate group, the option should allow
    - missing_group = "count": Missing group should be counted into the total column and placed before "Total" column
    - missing_group = "display": Missing group should not be counted into the total column and placed after "Total" column
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