range_wide_to_long: Pivot Range Format Forecasts From Wide to Long Format

Description Usage Arguments Value Examples

View source: R/utils_data_handling.R

Description

Given a data.frame that follows the structure shown in range_example_data_wide, the function outputs the same data in a long format as (as shown in range_example_data_long). This can be useful e.g. for plotting.

Usage

1

Arguments

data

a data.frame following the specifications from eval_forecasts) for quantile forecasts. For an example, see range_example_data_wide)

Value

a data.frame in long format

Examples

1
2
wide <- scoringutils2::range_example_data_wide
long <- scoringutils2::range_wide_to_long(wide)

nikosbosse/scoringutils2 documentation built on Jan. 8, 2021, 12:12 p.m.