Graphing helper for the app. Returns a ggplot graph.

create.graph(df.to.plot, selected, plot.day, curr.date,
  frozen_data = NULL)

Arguments

df.to.plot

Dataframe with data to plot.

selected

Vector of strings, representing the columns to plot.

plot.day

Date selected to show a vertical line.

curr.date

Date where to start the graph.

frozen_data

Melted dataframe of previous frozen projections

Value

ggplot graph.