Description Usage Arguments Details Value Author(s) References Examples
The function mad produces GVP values in a tibble object.
1 |
data |
DataFrame object with column names "id", "time", and "gl" |
A tibble object with 1 row for each subject, a column for subject id and a column for GVP values is returned. NA glucose values are omitted from the calculation of the GVP.
GVP is calculated by dividing the total length of the line of the glucose trace by the length of a perfectly flat trace. The formula for this is sqrt(diff^2+dt0^2)/(n*dt0), where diff is the change in Blood Glucose measurements from one reading to the next, dt0 is the time gap between measurements and n is the number of glucose readings
A tibble object with two columns: subject id and corresponding GVP value.
David Buchanan, Mary Martin
Peyser et al. (2017) Glycemic Variability Percentage: A Novel Method for Assessing Glycemic Variability from Continuous Glucose Monitor Data. Diabetes Technol Ther 20(1):6–16, doi: 10.1089/dia.2017.0187.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.