auc_calc: Calculate Area Under the Curve of glucose values for a...

Description Usage Arguments

View source: R/psi_calc_util.R

Description

Returns 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

Usage

1
auc_calc(glucose_df, timelength = 120)

Arguments

glucose_df

dataframe of glucose values

timelength

number of minutes to look ahead for the AUC calculation


personalscience/psi-shiny-cgm documentation built on Dec. 22, 2021, 7:43 a.m.