Description Usage Arguments Value Author(s) Examples
View source: R/GenHypoIntervals.R
There are three types of intervals: hypo to next documented BG, hypo to resolution of hypo, and resolution of hypo to next documented hypo. This function will calculate these intervals.
1 | GenHypoIntervals(dat)
|
dat |
A data.table prepared by |
A list containing the time intervals.
Ying Chen
1 2 3 4 5 6 | # Focus on data from Ward A. First prepare example data using GenEpisode:
data("gluDat")
gluDat2 <- FormatDate(dat = gluDat[gluDat$LOCATION == "A", ], yy = 2020, mm = 7)
gluDat3 <- GenEpisode(dat = gluDat2, epiMethod = "Admininfo")
# Then generate hypo intervals:
GenHypoIntervals(dat = gluDat3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.