View source: R/getData4oxyIndex.R
getData4oxyIndex | R Documentation |
Minima of the values from the table DID_OXYGENIND_SINGLE are returned. The minimum is computed for each combination of PATSTUID and EVENT (time point), and is taken over the values of APO2 (table FRM_O2A) and POXY (table FRM_O2P).
getData4oxyIndex(DID_OXYGENIND_SINGLE)
DID_OXYGENIND_SINGLE |
data.table containing the table so named from the database of the PROGRESS study |
data.table in the wide format. Each row corresponds to one patient and the columns contain the oxygenation index at a given time.
## Not run:
excel_fn <- paste0("/net/ifs1/san_projekte/projekte/",
"PROGRESS/Datenmanagement/Data_freezes/",
"20190320/PROGRESS-freeze_201903_01.xlsx")
DID_OXYGENIND_SINGLE <- readxl::read_excel(excel_fn, "DID_OXYGENIND_SINGLE")
data.table::setDT(DID_OXYGENIND_SINGLE)
toadd_oxyIndex.min <- getData4oxyIndex(DID_OXYGENIND_SINGLE)
toadd_oxyIndex.min
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.