adrr {rGV} | R Documentation |
Calculate Average Daily Risk Range (ADRR)
Description
Calculate Average Daily Risk Range (ADRR)
Usage
adrr(x, times, unit = "mg", method = "manuscript")
Arguments
x |
vector of glucose readings |
times |
vector of corresponding times, in minutes |
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
The numeric ADRR value for a given dataset of glucose measurements and times.
Examples
adrr(x=c(rep(100, 10), rep(120, 10), 105, 85), times=seq(0, 1260, 60),
unit="mg", method='manuscript')
[Package rGV version 0.0.4 Index]