prepare_model_data: Prepare the Model Data

Description Usage Arguments Value Examples

View source: R/plotting_functions.R

Description

Given a string filename for the model input (csv) format, function will return a dataframe of the model output, restricted to the given dates

Usage

1
prepare_model_data(model_path, filterdates = NULL, hospscaler = NULL)

Arguments

model_path

filename for the model input

filterdates

a vector of two dates, indicating the start and end

hospscaler

a factor by which to scale infections to equal a multiple of hospitalizations

Value

Returns a dataframe

Examples

1
2
prepare_model_data(usfname)
prepare_model_data(usfname, c("2020-03-01", "2020-06-15"))

lmullany/iddplotting documentation built on July 26, 2020, 8:05 p.m.