#' HOMA-IR index
#'
#' @param glu The value of fasting glucose.
#' @param ins The value of fasting insulin.
#'
#' @return A double.
#'
#' @examples
homa_ir_index <- function(glu, ins) {
stopifnot(length(glu) == 1 && length(ins) == 1)
(glu * ins) / 22.5
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.