Internal method that creates UI with buttons to download a plot as a PDF or ggplot object.
downloadModule(input, output, session, plotObject, plotName)
gets user input from UI
designates output for UI
Shiny variable for server modules
Reactive plot object defined elsewhere in the server function.
Character string designating name of the plot for PDF output.
Julia Wrobel jw3134@cumc.columbia.edu