Learn R Programming

scoringutils (version 1.2.2)

range_long_to_quantile: Change Data from a Range Format to a Quantile Format

Description

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

Usage

range_long_to_quantile(data, keep_range_col = FALSE)

Value

a data.frame in a plain quantile format

Arguments

data

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

keep_range_col

keep the range and boundary columns after transformation (default is FALSE)