This function generates plots to be displayed in the Shiny UI. This is a helper function. This function processes results returned from the simulation, supplied as a list.
A list structure containing all simulation results that are to be plotted.
The length of the list indicates the number of separate plots to make.
Each list entry corresponds to one plot and
needs to contain the following information/elements:
This function is called by the Shiny server to produce plots returned to the Shiny UI. Create plots run the simulation with default parameters just call the function: result <- simulate_basicbacteria() plot <- generate_plotly(result)
A plotly plot structure for display in a Shiny UI.
Yang Ge, Andreas Handel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.