View source: R/check_dm_age_missing.R
check_dm_age_missing | R Documentation |
Check for patients with missing AGE, AGE<18 or AGE>90 in DM
check_dm_age_missing(DM)
DM |
Demographics SDTM dataset with variables USUBJID,AGE |
boolean value if check failed or passed with 'msg' attribute if the test failed
Nina Qi
DM <- data.frame(
USUBJID = 1:10,
AGE = c(50,60,17,99,NA,33,500,40,22,NA)
)
check_dm_age_missing(DM)
DM$AGE = NULL
check_dm_age_missing(DM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.