View source: R/check_ex_exoccur_mis_exdose_nonmis.R
check_ex_exoccur_mis_exdose_nonmis | R Documentation |
Checks for exposure records with missing EXOCCUR but EXDOSE not missing
check_ex_exoccur_mis_exdose_nonmis(EX)
EX |
Exposure dataframe with variables USUBJID, EXTRT, EXDOSE, EXOCCUR, EXSTDTC |
boolean value if check failed or passed with 'msg' attribute if the test failed
Iris Zhao
EX <- data.frame(
USUBJID = 1:10,
EXTRT = rep(1,10),
EXOCCUR = c(rep(1,2),rep(NA,4),rep(2,4)),
EXDOSE = c(rep(NA,4),rep(1,6)),
EXSTDTC = 1:10
)
EX$EXOCCUR[6]="NA"
EX$EXOCCUR[7]=""
EX$EXOCCUR[8]=NA
check_ex_exoccur_mis_exdose_nonmis(EX)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.