plot_compare_glucose: Plot a glucose dataframe comparing several meals

Description Usage Arguments Value

View source: R/utils_plot.R

Description

Plot of a valid CGM file.

Usage

1
2
3
4
5
6
7
8
plot_compare_glucose(
  food_times_df,
  combine = FALSE,
  smooth = FALSE,
  title = "Name",
  subtitle = "foodname",
  legend_var = "date_ch"
)

Arguments

food_times_df

dataframe of a valid dataframe in food_times_df format.

combine

combine lines into one average (default = FALSE)

smooth

smooth lines (default = FALSE)

title

string to display on ggplot

subtitle

string to display for subtitle

legend_var

a food_times_df column name to be used for the plot legend

Value

ggplot object


personalscience/taster documentation built on Feb. 5, 2022, 9:27 p.m.