example_sample_continuous {scoringutils} | R Documentation |
Continuous forecast example data
Description
A data set with continuous predictions for COVID-19 cases and deaths constructed from data submitted to the European Forecast Hub.
Usage
example_sample_continuous
Format
An object of class forecast_sample
(see as_forecast_sample()
)
with the following columns:
- location
the country for which a prediction was made
- target_end_date
the date for which a prediction was made
- target_type
the target to be predicted (cases or deaths)
- observed
observed values
- location_name
name of the country for which a prediction was made
- forecast_date
the date on which a prediction was made
- model
name of the model that generated the forecasts
- horizon
forecast horizon in weeks
- predicted
predicted value
- sample_id
id for the corresponding sample
Details
The data was created using the script create-example-data.R in the inst/ folder (or the top level folder in a compiled package).
Source
[Package scoringutils version 2.1.0 Index]