getData4oxi.ind: get the minimum oxygenation index (Horowitz index) in kPa

View source: R/getData4oxi.ind.R

getData4oxi.indR Documentation

get the minimum oxygenation index (Horowitz index) in kPa

Description

Values from the rows with CLIN_PARAM == "OxygenIndex-MIN" in the table DID_CLIN are returned.

Usage

getData4oxi.ind(DID_CLIN)

Arguments

DID_CLIN

data.table containing the table DID_CLIN from the database of the PROGRESS study

Value

data.table in the wide format. Each row corresponds to one patient and the columns contain the oxygenation index at a given time.

Examples

## Not run: 
excel_fn <- paste0("/net/ifs1/san_projekte/projekte/",
"PROGRESS/Datenmanagement/Data_freezes/",
"20190320/PROGRESS-freeze_201903_01.xlsx")
DID_CLIN <- readxl::read_excel(excel_fn, "DID_CLIN")
data.table::setDT(DID_CLIN)
toadd_oxi.ind <- getData4oxi.ind(DID_CLIN)
toadd_oxi.ind

## End(Not run)

maciejrosolowski/progressdatenbankderivate documentation built on Nov. 29, 2024, 3:39 a.m.