Description Usage Arguments Value See Also Examples
Plot an IDR predictive CDF.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
object of class |
index |
index of the prediction in |
bounds |
whether the bounds should be plotted or not (see
|
col.cdf |
color of the predictive CDF. |
col.bounds |
color of the bounds. |
lty.cdf |
linetype of the predictive CDF. |
lty.bounds |
linetype of the CDF bounds. |
xlab |
label for x axis. |
ylab |
label for y axis. |
main |
main title. |
... |
further arguments to |
The data based on which the plot is drawn (returned invisible).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data("rain")
require("graphics")
## Postprocess HRES and CTR forecast using data of 2 years
X <- rain[1:(2 * 365), c("HRES", "CTR"), drop = FALSE]
y <- rain[1:(2 * 365), "obs"]
## Fit IDR and plot the predictive CDF when the HRES forecast is 1 mm and
## CTR is 0 mm
fit <- idr(y = y, X = X)
pred <- predict(fit, data = data.frame(HRES = 1, CTR = 0))
plot(pred)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.