Learn R Programming

refund.shiny (version 0.2.0)

savePlot: Save Plot Object as .RData file

Description

Internal method that saves ggplot plots as .RData files.Can be used with all plotting methods in the package. The name of the plot object and it's name to be saved under are passed in and the plot is saved as an RData file.

Usage

savePlot(title, plotName)

Arguments

title
new name for the plot, and name of the RData file created.
plotName
name of the ggplot object.