CONGA.fn {CGManalyzer} | R Documentation |
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.
CONGA.fn(y, Interval = 5, n = 2)
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 |
a value of CONGA
Xiaohua Douglas Zhang, Dandan Wang
Zhang XD, Zhang Z. CGManalyzer: a R package for analyzing continuous glucose monitoring studies
library(CGManalyzer) package.name <- "CGManalyzer" source( system.file("SPEC", "SPECexample.R", package = package.name) ) y = rnorm( 3*24*60/5, mean=5, sd=0.1) CONGA.fn(y, Interval = 5, n=2)