View source: R/check_ex_visit.R
check_ex_visit | R Documentation |
This check looks missing EX.VISIT values when EX.EXOCCUR=Y (or EX.EXOCCUR doesn't exist)
check_ex_visit(EX)
EX |
Exposure SDTM dataset with variables USUBJID,EXTRT,EXSTDTC,VISIT, and optional variable EXOCCUR |
boolean value if check failed or passed with 'msg' attribute if the test failed
Jen Chen
EX <- data.frame(
USUBJID = 1:3,
EXTRT = 1:3,
EXSTDTC = 1:3,
EXOCCUR = "Y",
VISIT = NA
)
check_ex_visit(EX)
EX$EXOCCUR=NULL
check_ex_visit(EX)
EX$VISIT=NULL
check_ex_visit(EX)#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.