View source: R/check_ae_aeout.R
check_ae_aeout | R Documentation |
This check looks for AEs with Death date(AEDTHDTC) but outcome (AEOUT) is not FATAL and conversely AEs with no death date (AEDTHDTC) but outcome (AEOUT) is fatal
check_ae_aeout(AE, preproc = identity, ...)
AE |
Adverse Events SDTM dataset with variables USUBJID, AEDTHDTC, AEOUT |
preproc |
An optional company specific preprocessing script |
... |
Other arguments passed to methods |
boolean value if check failed or passed with 'msg' attribute if the test failed
Shumei Chi
AE <- data.frame(
USUBJID = 1:8,
AEDTHDTC = c(NA, "NA", "2015-03-12", "2017-01-22", "1999-11-07","",NA, "2020-01-01"),
AEOUT = c("", "", "","FATAL","RECOVERED/RESOLVED","FATAL","FATAL", NA),
AESPID = "FORMNAME-R:13/L:13XXXX",
stringsAsFactors = FALSE
)
check_ae_aeout(AE)
check_ae_aeout(AE,preproc=roche_derive_rave_row)
AE$AEDTHDTC <- NULL
check_ae_aeout(AE)
AE$AEOUT <- NULL
check_ae_aeout(AE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.