ciPlot: Create a confidence interval plot for a forecast

View source: R/plot.R

ciPlotR Documentation

Create a confidence interval plot for a forecast

Description

Create a confidence interval plot for a forecast

Usage

ciPlot(
  data,
  col = 1,
  ylim = c(min(data$low[, col]), max(data$high[, col])),
  ci_col = "lightgrey",
  ...
)

Arguments

data

The data to plot, should be a list that contains "fcst", "low" and "high" matrices

col

Which column of each matrix contains the data to plot

ylim

The y axis limits for the plot

ci_col

The confidence area color

...

Additional arguments to pass to the plot function.


jonlachmann/sparsecoint documentation built on April 14, 2022, 10:49 a.m.