downloadModule {refund.shiny} | R Documentation |
Internal method that creates UI with buttons to download a plot as a PDF or ggplot object.
downloadModule(input, output, session, plotObject, plotName)
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. |
Julia Wrobel jw3134@cumc.columbia.edu