Description Usage Arguments Value Examples
View source: R/plotting_functions.R
Given a string filename for the model input (csv) format, function will return a dataframe of the model output, restricted to the given dates
1 | prepare_model_data(model_path, filterdates = NULL, hospscaler = NULL)
|
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 |
Returns a dataframe
1 2 | prepare_model_data(usfname)
prepare_model_data(usfname, c("2020-03-01", "2020-06-15"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.