View source: R/calculate_avg_glucose.R
calculate_avg_glucose | R Documentation |
Estimate average glucose from A1C value
calculate_avg_glucose(a1c, glucose_units = "mg/dl")
a1c |
measured A1C |
glucose_units |
Desired glucose units for result- default is "mg/dl", can indicate here for unit conversion options, eg "mg/dl" or "mmol/l" |
Conversion from A1C to estimated average glucose using linear interpolation described in the paper "Translating the A1C assay into estimated average glucose values"
estimated average glucose with mg/dl default, as a single numeric value
calculate_avg_glucose(5)
calculate_avg_glucose(5:12)
calculate_avg_glucose(5:12, glucose_units = "mM")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.