j_index | R Documentation |
Calculate J-index
j_index(x, unit = "mg")
x |
vector of glucose readings |
unit |
"mg" if the units are mg/dL or "mmol" if the units are mmol/L. Null value is "mg". |
The numeric J-index value for a given dataset of glucose measurements.
j_index(x=c(rep(100, 10), rep(120, 10), 105, 85), unit='mg')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.