getData4beat | R Documentation |
The columns in the returned data.table contain detailed information on the method by which the ventilation was applied. The last set of columns, bea.auf, bea.d0 and so on, say if ventilation was used at all, i.e., by any method.
getData4beat(FRM_BEAT)
FRM_BEAT |
data.table containing the table so named from the database of the PROGRESS study |
data.table with the ID of the patient (patstuid), and the data on the ventilation, in the wide format.
## Not run:
excel_fn <- paste0("/net/ifs1/san_projekte/projekte/",
"PROGRESS/Datenmanagement/Data_freezes/",
"20190320/PROGRESS-freeze_201903_01.xlsx")
FRM_BEAT <- readxl::read_excel(excel_fn, 'FRM_BEAT', guess_max = 10e5)
data.table::setDT(FRM_BEAT)
toadd_beat <- getData4beat(FRM_BEAT)
toadd_beat
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.