## ----include = FALSE---------------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ## ----setup-------------------------------------------------------------------- library(IsletCalc) ## ----------------------------------------------------------------------------- data(example_data) res <- insulin_release(example_data, category = c("fasting", "ogtt")) head(res) ## ----------------------------------------------------------------------------- head(insulin_release(example_data, category = "fasting")) ## ----------------------------------------------------------------------------- head(glucagon_release(example_data)) ## ----------------------------------------------------------------------------- head(glucagon_resistance(example_data))