CONGA.fn: Function to calculate the continuous overlapping net glycemic action (CONGA)
Description
For each observation after the first n hours of observations, the difference between the current observation and the observation n hours previous was calculated. CONGA is defined as the standard deviation of the differences.
Usage
CONGA.fn(y, Interval = 5, n = 2)
Value
a value of CONGA
Arguments
y
measured response, must be evenly spaced in measured time
Interval
number of minutes between two consecutive time points
n
the length of a segment in CONGA
Author
Xiaohua Douglas Zhang, Dandan Wang
References
Zhang XD, Zhang Z, Wang D. 2018. CGManalyzer: an R package for analyzing continuous glucose monitoring studies. Bioinformatics 34(9): 1609-1611 (DOI: 10.1093/bioinformatics/btx826).