| format_sample_predictions | R Documentation |
Helper function to format posterior samples into the structure expected by
scoringutils::as_forecast_sample().
format_sample_predictions(samples, forecast_date)
samples |
Data.table with date, sample, and value columns |
forecast_date |
Date when the forecast was made |
Data.table with columns: forecast_date, date, horizon, sample, predicted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.