li {rGV} | R Documentation |
Calculate the lability index (LI)
Description
Calculate the lability index (LI)
Usage
li(x, times, k = 60, s = 1)
Arguments
x |
vector of glucose readings |
times |
vector of corresponding times, in minutes |
k |
length of time (in minutes) used to find partners. Null value is 60. |
s |
number of minutes of slack used when searching for partners. Null value is 1. |
Value
The numeric value of the lability index for a given dataset of glucose measurements and times.
Examples
li(x=c(rep(100, 10), rep(120, 10), 105, 85), times=seq(0, 1260, 60), k=60, s=1)
[Package rGV version 0.0.4 Index]