View source: R/getData4afrqMax.R
getData4afrqMax | R Documentation |
Get information on the maximal beathing rate (respiratory frequency). The maximization is over AFREQ from the table FRM_BEF, and AFREQMIN, AFREQMAX from the table FRM_B24
getData4afrqMax(FRM_B24, FRM_BEF)
FRM_B24 |
data.table containing the table FRM_B24 from the database of the PROGRESS study |
FRM_BEF |
data.table containing the table FRM_BEF from the database of the PROGRESS study |
data.table with the ID of the patient (patstuid), and the information on the maximal breathing rate, 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_B24 <- readxl::read_excel(excel_fn, 'FRM_B24')
FRM_BEF <- readxl::read_excel(excel_fn, 'FRM_BEF')
data.table::setDT(FRM_B24)
data.table::setDT(FRM_BEF)
getData4afrqMax(FRM_B24, FRM_BEF)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.