example_binary | R Documentation |
A data set with binary predictions for COVID-19 cases and deaths constructed from data submitted to the European Forecast Hub.
example_binary
An object of class forecast_binary
(see as_forecast_binary()
)
with the following columns:
the country for which a prediction was made
name of the country for which a prediction was made
the date for which a prediction was made
the target to be predicted (cases or deaths)
A factor with observed values
the date on which a prediction was made
name of the model that generated the forecasts
forecast horizon in weeks
predicted value
Predictions in the data set were constructed based on the continuous example data by looking at the number of samples below the mean prediction. The outcome was constructed as whether or not the actually observed value was below or above that mean prediction. This should not be understood as sound statistical practice, but rather as a practical way to create an example data set.
The data was created using the script create-example-data.R in the inst/ folder (or the top level folder in a compiled package).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.