interval_long_to_quantile: Change forecast from an interval format to a quantile format

interval_long_to_quantileR Documentation

Change forecast from an interval format to a quantile format

Description

Transform forecast from a format that uses interval ranges to denote quantiles to a format that uses quantiles only.

Usage

interval_long_to_quantile(forecast, keep_range_col = FALSE)

Arguments

forecast

A data.frame following the specifications from score()) for quantile forecasts.

keep_range_col

Logical, default is FALSE. Keep the interval_range and boundary columns after transformation?

Value

a data.table in a plain quantile format


epiforecasts/scoringutils documentation built on April 23, 2024, 4:56 p.m.