getData4apo2.min: Get data on the minimum of the part pressure of arterial O2.

View source: R/getData4apo2.min.R

getData4apo2.minR Documentation

Get data on the minimum of the part pressure of arterial O2.

Description

Get data on the minimum of the part pressure of arterial O2.

Usage

getData4apo2.min(FRM_O2A)

Arguments

FRM_O2A

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

Value

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.

Examples

## 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)

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