powered by
Calculate Glycemic Variability Percentage (GVP)
gvp(x, times)
The numeric GVP value for a given dataset of glucose measurements and times.
vector of glucose readings
vector of corresponding times, in minutes
gvp(x=c(rep(100, 10), rep(120, 10), 105, 85), times=seq(0, 1260, 60))
Run the code above in your browser using DataLab