generate_notification | R Documentation |
Generate sequential notification as a function of the selected diseases. All notifications are in the notifications.R file in the inst/entry_level app folder. Used in the infos module.
generate_notification(simulation, counter, allowed)
simulation |
Which disease is currently selected. See extract_running_sim. |
counter |
To determine which notification to display. We expect a counter returned by the networkCaPO4 module. |
allowed |
Whether to allow simulations. Expect logical value. See infos module. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.