View source: R/check_ex_exdosu.R
check_ex_exdosu | R Documentation |
This check looks for missing EXODOSU values for valid doses
check_ex_exdosu(EX)
EX |
Exposure SDTM dataset with variables USUBJID,EXTRT,EXSTDTC,EXDOSU |
boolean value if check failed or passed with 'msg' attribute if the test failed
Jen Chen
EX <- data.frame(
USUBJID = 1:10,
EXTRT = 1:10,
EXSTDTC = 1:10,
EXDOSE = 1:10,
EXOCCUR = as.character(c(rep("Y",5),rep("N",5))),
EXDOSU = as.character(rep("mg",10))
)
EX$EXDOSU[1] = ""
EX$EXDOSU[2] = "NA"
EX$EXDOSU[3] = NA
check_ex_exdosu(EX)
EX$EXSTDTC = NULL
check_ex_exdosu(EX)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.