powered by
Calculate Glucose Management Indicator (GMI)
gmi(x, unit = "mg")
The numeric GMI value for a given dataset of glucose measurements.
vector of glucose readings
"mg" if the units are mg/dL or "mmol" if the units are mmol/L. Null value is "mg".
gmi(x=c(rep(100, 10), rep(120, 10), 105, 85), unit='mg')
Run the code above in your browser using DataLab