View source: R/getData4apo2.min.R
getData4apo2.min | R Documentation |
Get data on the minimum of the part pressure of arterial O2.
getData4apo2.min(FRM_O2A)
FRM_O2A |
data.table containing the table FRM_O2A from the database of the PROGRESS study |
data.table with the ID of the patient (patstuid), and the data on the part pressure of arterial O2 (in mmHg), in the wide format. Small values are bad for the patient.
## Not run:
excel_fn <- paste0("/net/ifs1/san_projekte/projekte/",
"PROGRESS/Datenmanagement/Data_freezes/",
"20190320/PROGRESS-freeze_201903_01.xlsx")
FRM_O2A <- readxl::read_excel(excel_fn, 'FRM_O2A')
data.table::setDT(FRM_O2A)
toadd_apo2.min <- getData4apo2.min(FRM_O2A)
toadd_apo2.min
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.