View source: R/check_dm_armcd.R
check_dm_armcd | R Documentation |
This check looks for missing ARM or ARMCD values
check_dm_armcd(DM)
DM |
Demographics SDTM dataset with variables USUBJID, ARM, ARMCD |
boolean value if check failed or passed with 'msg' attribute if the test failed
Rena Wang
DM <- data.frame(
USUBJID = 1:3,
ARM = 1:3,
ARMCD = 1:3
)
check_dm_armcd(DM)
DM$ARMCD[1] <- NA
check_dm_armcd(DM)
DM$ARM[2] <- NA
check_dm_armcd(DM)
DM$ARMCD <- NULL
check_dm_armcd(DM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.