Description Usage Arguments Value Examples
View source: R/verify_events.R
Varifies events as being in-range (0
), high (+1
) or
low (-1
). These ranges have been calibrated based upone; ICNARC
reference ranges, prior evidence (usually case report for exceptional values)
or expert opinion. Reference ranges are all found in qref
.
1 | verify_range(x = NULL)
|
x |
an extracted event table |
a tibble of the same length as x with the following features:
event is below the defined range of plausibility
event is valid
event is above the defined range of plausibility
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## DB Connection
db_pth <- system.file("testdata/synthetic_db.sqlite3", package = "inspectEHR")
ctn <- connect(sqlite_file = db_pth)
## Pre-requisites
core <- make_core(ctn)
## Data item extraction
hr <- extract(core, input = "NIHR_HIC_ICU_0108")
## verify Range
vhr <- verify_range(hr)
head(vhr)
DBI::dbDisconnect(ctn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.