bgi {rGV}R Documentation

Calculate Low / High Blood Glucose Index (LBGI, HBGI)

Description

Calculate Low / High Blood Glucose Index (LBGI, HBGI)

Usage

bgi(x, unit = "mg", method = "manuscript")

Arguments

x

vector of glucose readings

unit

"mg" if the units are mg/dL or "mmol" if the units are mmol/L. Null value is "mg".

method

"manuscript", "corrected", or "easy". Null value is "manuscript".

Value

A list containing the LBGI and HBGI values for a given dataset of glucose measurements.

Examples

bgi(x=c(rep(100, 10), rep(120, 10), 105, 85), unit='mg', method='manuscript')

[Package rGV version 0.0.4 Index]