| .daily_insulin_totals.aidR | R Documentation |
Uses the daily totals of data where they are available, since a
platform that reports them itself covers insulin that the individual data
points may not (e.g. the basal delivered in automated mode by an Omnipod).
Where they are absent, the day is summed over the data that is drawn.
.daily_insulin_totals.aidR(data, id, day, basal, bolus)
data |
A list with the standardized aidR data frames, named by aidR type
( |
id |
Character string with the participant identifier. |
day |
The day to total, as a |
basal |
The basal data of that individual and that day, or |
bolus |
The bolus data of that individual and that day, or |
A named numeric vector with entries basal, bolus and
total, in units. An entry is NA where the insulin is not
recorded, and total is NA as soon as either part is.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.