View source: R/tabPanelModule.R
tabPanelModule | R Documentation |
Internal method that creates UI with buttons to download a plot as a PDF or ggplot object.
tabPanelModule( input, output, session, plotObject = NULL, plotName = NULL, plotObject2 = NULL, plotName2 = NULL, is.plotly = FALSE, is.grid = FALSE )
input |
gets user input from UI |
output |
designates output for UI. |
session |
Shiny variable for server modules. |
plotObject |
Reactive plot object defined elsewhere in the server function. |
plotName |
Character string designating name of the plot for PDF output. |
plotObject2 |
Reactive plot object for the (optional) second plot. |
plotName2 |
Character string designating name of the (optional) second plot for the PDF output |
is.plotly |
Indicates if plots are plotly generated. Defaults to FALSE. |
is.grid |
Indicates if plot is generated using grid.arrange() to arrange ggplot objects. If TRUE, prints plot object implicitly rather than explicitly. |
Julia Wrobel julia.wrobel@cuanschutz.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.