View source: R/calculate_quicki.R
calculate_quicki | R Documentation |
Quick Index of Insulin Sensitivity (QUICKI)
calculate_quicki(
glucose,
insulin,
glucose_units = "mg/dl",
insulin_units = "uU/ml"
)
glucose |
fasting glucose (mg/dL) |
insulin |
fasting insulin (uU/mL) |
glucose_units |
if units are not in "mg/dl", can indicate here for unit conversion (options "mg/dl" or "mmol/l") |
insulin_units |
if units are not in "uU/ml", can indicate here for unit conversion (options "uU/ml" or "pmol/l") |
QUICKI estimate of insulin sensitivity, as a single numeric value
calculate_quicki(glucose = c(93), insulin = c(12.8))
calculate_quicki(93, 12.8)
calculate_quicki(93, NA) # error
calculate_quicki(5.167, 76.8, glucose_units = "mmol/l", insulin_units = "pmol/l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.