| format_quantile_predictions | R Documentation |
Helper function to format posterior samples into quantiles in the structure
expected by scoringutils::as_forecast_quantile().
format_quantile_predictions(samples, quantiles, forecast_date)
samples |
Data.table with date and value columns |
quantiles |
Numeric vector of quantile levels |
forecast_date |
Date when the forecast was made |
Data.table with columns: forecast_date, date, horizon, quantile_level, predicted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.