m_value | R Documentation |
Calculate M-value
m_value(x, unit = "mg", index = 120, method = "manuscript")
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". |
index |
value to be considered a 'standard' blood glucose value, in mg/dL. Null value is 120. |
method |
"manuscript", "corrected", or "easy". Null value is "manuscript". |
The numeric M-value for a given dataset of glucose measurements.
m_value(x=c(rep(100, 10), rep(120, 10), 105, 85), unit='mg', index=120, method='manuscript')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.