Learn R Programming

rGV (version 0.0.5)

gvp: Calculate Glycemic Variability Percentage (GVP)

Description

Calculate Glycemic Variability Percentage (GVP)

Usage

gvp(x, times)

Value

The numeric GVP value for a given dataset of glucose measurements and times.

Arguments

x

vector of glucose readings

times

vector of corresponding times, in minutes

Examples

Run this code
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