getData4hfrqMin: Get information on the mainimal heart rate. The mainimization...

View source: R/getData4hfrqMin.R

getData4hfrqMinR Documentation

Get information on the mainimal heart rate. The mainimization is over HFREQ from the table FRM_BEF, and HFREQMIN, HFREQMAX from the table FRM_B24

Description

Get information on the mainimal heart rate. The mainimization is over HFREQ from the table FRM_BEF, and HFREQMIN, HFREQMAX from the table FRM_B24

Usage

getData4hfrqMin(FRM_B24, FRM_BEF)

Arguments

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

Value

data.table with the ID of the patient (patstuid), and the information on the minimal heart rate, in the wide format

Examples

## 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)
getData4hfrqMin(FRM_B24, FRM_BEF)

## End(Not run)

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