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

range_long_to_quantileR Documentation

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)

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)

Value

a data.frame in a plain quantile format


scoringutils documentation built on Feb. 16, 2023, 7:30 p.m.