foreplot | R Documentation |
Plots forecasting results
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)
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 |
Plot of probability of what over time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.