create.graph: Graphing Helper

Description Usage Arguments Value

View source: R/helper.R

Description

Graphing helper for the app. Returns a ggplot graph.

Usage

1
2
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.


lemdt/CovidShinyModel documentation built on May 10, 2020, 1:54 p.m.