q_boundary: Quantile boundary

View source: R/utils.R

q_boundaryR Documentation

Quantile boundary

Description

This unexported helper generates a vector of lower bound, median, and upper bound for the prediction interval of specified width. The function is used internally inside of read_forecast.

Usage

q_boundary(pi_width)

Arguments

pi_width

Interval width as an integer

Value

Vector of quantiles corresponding to lower and upper bounds centered on median.


rplanes documentation built on Sept. 11, 2024, 9:01 p.m.