adrr: Calculate average daily risk range (ADRR)

Description Usage Arguments Details Value References Examples

View source: R/adrr.R

Description

The function adrr produces ADRR values in a tibble object.

Usage

1

Arguments

data

DataFrame object with column names "id", "time", and "gl".

Details

A tibble object with 1 row for each subject, a column for subject id and a column for ADRR values is returned. NA glucose values are omitted from the calculation of the ADRR values.

ADRR is the average sum of HBGI corresponding to the highest glucose value and LBGI corresponding to the lowest glucose value for each day, with the average taken over the daily sums. If there are no high glucose or no low glucose values, then 0 will be substituted for the HBGI value or the LBGI value, respectively, for that day.

Value

A tibble object with two columns: subject id and corresponding ADRR value.

References

Kovatchev et al. (2006) Evaluation of a New Measure of Blood Glucose Variability in, Diabetes Diabetes care 29 .2433-2438, doi: 10.2337/dc06-1085.

Examples

1
2
3
4
5

iglu documentation built on Sept. 9, 2021, 1:07 a.m.