mod_foodServer: Plot glucose reaction for all foods that match an input text.

Description Usage Arguments Value

View source: R/mod_food_compare.R

Description

Given a (reactive) libreview dataframe, this Shiny module will generate a valid ggplot object and display it in an accompanying UI

Usage

1
mod_foodServer(id, glucose_df, title = "Name")

Arguments

id

shiny module id

glucose_df

reactive for a valid glucose dataframe

title

a title for the plot

Value

ggplot object representing a glucose chart


personalscience/psi-shiny-cgm documentation built on Dec. 22, 2021, 7:43 a.m.