| .plot_single_day.aidR | R Documentation |
Draw a single day of diabetes data for one individual
.plot_single_day.aidR(data, id, day, target, ylim_cgm, min_bolus, units, main)
data |
A list with the standardized aidR data frames, named by aidR type
( |
id |
Character string with the participant identifier. |
day |
The day to draw, as a |
target |
Numeric vector of length two with the glucose target range. |
ylim_cgm |
Numeric vector of length two with the limits of the glucose axis. |
min_bolus |
Numeric, the smallest bolus that is drawn in full, in units. Smaller ones are drawn as bare ticks. |
units |
Character string, the units of the glucose data, either
|
main |
Character string with the plot title, |
No return value, called for side effects: one plot is drawn.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.