mag | R Documentation |
Calculate Mean Absolute Glucose (MAG)
mag(x, times)
x |
vector of glucose readings |
times |
vector of corresponding times, in minutes |
The numeric MAG value for a given dataset of glucose measurements and times.
mag(x=c(rep(100, 10),rep(120, 10), 105, 85), times=seq(0, 1260, 60))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.