foreplot: Plots forecasting results

View source: R/plot.R

foreplotR Documentation

Plots forecasting results

Description

Plots forecasting results

Usage

foreplot(x, what.y, what.x = NULL, ylab = what.y, xlab = "Year",
  rect = NULL, ci = TRUE, vline = NULL, hline = NULL, by = NULL,
  text = FALSE, IE = NULL, year = NULL, legendnames = NULL,
  data = FALSE, ratio = FALSE)

## S3 method for class 'ccamforecast'
foreplot(x, ...)

## S3 method for class 'forecastset'
foreplot(x, what.y, what.x = NULL, ylab = what.y,
  xlab = "Year", rect = NULL, ci = TRUE, vline = NULL,
  hline = NULL, by = NULL, text = FALSE, IE = NULL, year = NULL,
  legendnames = NULL, data = FALSE, ratio = FALSE)

Arguments

x

the object(s) returned from ccam.forecast

what.y

statistic returned from ccam.forecast

what.x

statistic returned from ccam.forecast

ylab

y label

xlab

x label

rect

color zone above this y value

ci

logical (ci are quantile ranges)

vline

plot vertical line(s)

hline

plot horizontal line(s)

by

IE, MP, OM

text

logical. plot year labels

IE

numeric. which IE to use for naming if vector of IEs is used.

data

logical data returned?

ratio

logical. devide by LRP?

legend

names vector of new legend names

Details

Plot of probability of what over time


elisvb/CCAM documentation built on March 13, 2023, 6:55 a.m.