Plot a table of hubverse-formatted forecasts as pointintervals
Source:R/plot_hubverse_pointinterval.R
plot_hubverse_pointintervals.RdPlot a table of hubverse-formatted forecasts as pointintervals
Usage
plot_hubverse_pointintervals(
hubverse_table,
horizons = NULL,
point_estimate_quantile = 0.5,
lower_limit_quantile = 0.025,
upper_limit_quantile = 0.975,
location_input_format = "hub",
location_output_format = "abbr"
)Arguments
- hubverse_table
Hubverse table, as a
tibble- horizons
horizons to plot, as a vector of integers. If
NULL, plot all available, each in its own facet. DefaultNULL.- point_estimate_quantile
Quantile to plot as the point estimate. Default
0.5, the median.- lower_limit_quantile
Quantile to plot as the lower bound of the interval. Default
0.025.- upper_limit_quantile
Quantile to plot as the upper bound of the interval. Default
0.975.- location_input_format
Format of the hubverse table
locationcolumn. Seeto_us_location_table_column()for valid formats.- location_output_format
How to code locations in the output plot. See
to_us_location_table_column()for valid formats.