View source: R/check_tu_tuloc_missing.R
check_tu_tuloc_missing | R Documentation |
This check looks for target lesions with missing TULOC values and returns a data frame. Only applies to assessments by investigator.
check_tu_tuloc_missing(TU, preproc = identity, ...)
TU |
Tumor Identification SDTM dataset with variables USUBJID, TUDTC, VISIT, TUORRES, TULOC, TUSPID (optional) |
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
Will Harris
TU <- data.frame(
USUBJID = 1:10,
TUDTC = 1:10,
VISIT = "C1D1",
TUORRES = "TARGET",
TULOC = "LIVER",
TUSPID = "FORMNAME-R:19/L:19XXXX",
stringsAsFactors=FALSE
)
check_tu_tuloc_missing(TU)
TU$TULOC[1] = "NA"
TU$TULOC[2] = ""
TU$TULOC[3] = NA
check_tu_tuloc_missing(TU,preproc=roche_derive_rave_row)
TU$TUSPID <- NULL
check_tu_tuloc_missing(TU)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.