auc_calc_components | R Documentation |
Returns each segment of the AUC for the first timelength minutes after the start of the glucose_df. See Brouns, F., Bjorck, I., Frayn, K., Gibbs, A., Lang, V., Slama, G., & Wolever, T. (2005). Glycaemic index methodology. Nutrition Research Reviews, 18(1), 145-171. doi:10.1079/NRR2005100
auc_calc_components(glucose_df, timelength = 120)
glucose_df |
dataframe of glucose values |
timelength |
number of minutes to look ahead for the AUC calculation |
a vector of the AUC values for each segment of the curve.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.