Method for plotting forecast ensemble with ggplot.
# S3 method for visitation_forecast_ensemble
ggplot(
data,
mapping = aes(),
difference = FALSE,
log_outputs = FALSE,
plot_cumsum = FALSE,
plot_percent_change = FALSE,
actual_visitation = NULL,
actual_visitation_label = "Actual",
xlab = "Time",
ylab = "Fitted Value",
pred_colors = c("#ff6361", "#58508d", "#bc5090", "#003f5c"),
actual_color = "#ffa600",
size = 1.5,
main = "Forecasts for Visitation Model",
plot_points = FALSE,
date_breaks = "1 month",
date_labels = "%y %b",
...
)No return value, called for plotting objects of the class "visitation_forecast".
An object of class visitation_forecast_ensemble.
Default list of aesthetic mappings to use for plot. If not specified, must be supplied in each layer added to the plot.
A Boolean specifying whether to plot the original fit or differenced series. The default option is FALSE, in which case, the series is not differenced.
whether to log the outputted forecasts or not
whether to plot the cumulative sum or not
whether to plot the percent change or not
A timeseries object representing the actual visitation that will be plotted along site the visitation_forecast object
a string that will be used for the label of the actual visitation.
A string that will be used for the xlabel of the plot
A string that will be used for the ylabel of the plot
an array of Strings that will be used for the predicted series colors of the plot
a String that will be used for the actual series color of the plot,
A number that represents the thickness of the lines being plotted
A string that will be used for the title of the plot
a boolean to specify if the plot should be points or continous line.
A string to represent the distance between dates that the x-axis should be in. ex "1 month", "1 year"
A string to represent the format of the x-axis time labels.
extra arguments to pass in