getData4diasbp.min: Get information on the minimum of the diastolic blood...

View source: R/getData4diasbp.min.R

getData4diasbp.minR Documentation

Get information on the minimum of the diastolic blood pressure. The minimization is over EVENT within each PATSTUID.

Description

Get information on the minimum of the diastolic blood pressure. The minimization is over EVENT within each PATSTUID.

Usage

getData4diasbp.min(FRM_RR)

Arguments

FRM_RR

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

Value

data.table with the ID of the patient (patstuid), and the information on the maximum of the diastolic blood pressure, 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_RR <- readxl::read_excel(excel_fn, 'FRM_RR')
data.table::setDT(FRM_RR)
getData4diasbp.min(FRM_RR)

## End(Not run)

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