predict_data: assemble_data_plot_predictions

Description Usage Arguments Value

View source: R/predict_data.R

Description

Clean up and format the data

Usage

1
2
3
4
5
6
predict_data(
  events,
  days_predict = 60,
  training_window = 14,
  confidence = NULL
)

Arguments

events

(dataframe): an events dataframe

days_predict

(numeric): How many days in the future to predict

confidence

(numeric): Which level of confidence we want to keep. One of 80, 95 or NULL. If NULL, we do not keep any confidence

train_window

(numeric): the number of days prior to the last

Value

a list with the predictions and the confidence intervals at 80


theasjblog/covid19_package documentation built on May 2, 2021, 8:11 p.m.