View source: R/check_mh_missing_month.R
check_mh_missing_month | R Documentation |
This check looks for partial missing dates in medical history start and end dates. That is, with only the month missing while the year and day are known
check_mh_missing_month(MH, preproc = identity, ...)
MH |
Medical History SDTM dataset with variables USUBJID, MHTERM and MHSTDTC |
preproc |
An optional company specific preprocessing script |
... |
Other arguments passed to methods |
Boolean value for whether the check passed or failed, with 'msg' attribute if the check failed
Chandra Mannem
MH <- data.frame(USUBJID = LETTERS[1:5],
MHTERM = LETTERS[5:1],
MHSTDTC = c("2014", NA, "2014-01", "", "2014---02"),
stringsAsFactors = FALSE)
check_mh_missing_month(MH)
MH$MHSPID= "FORMNAME-R:2/L:2XXXX"
check_mh_missing_month(MH,preproc=roche_derive_rave_row)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.