modd {rGV} | R Documentation |
Calculate Mean of Daily Differences (MODD)
Description
Calculate Mean of Daily Differences (MODD)
Usage
modd(x, times, s = 1, method = "manuscript")
Arguments
x |
vector of glucose readings |
times |
vector of corresponding times, in minutes |
s |
number of minutes of slack used when searching for partners. Null value is 1. |
method |
"manuscript" or "easy". Null value is "manuscript". |
Value
The numeric MODD value for a given dataset of glucose measurements and times.
Examples
modd(x=c(rep(100, 10), rep(120, 10), 105, 85), times=seq(0, 1260, 60), s=1, method='manuscript')
[Package rGV version 0.0.4 Index]