Learn R Programming

fanplot (version 3.3)

fanplot-package: fanplot

Description

The fanplot package contains a collection of R functions to effectively display plots of sequential distributions such as probabilistic forecasts or simulation results.

Arguments

Details

Visualise sequential distributions using a range of plotting styles. Sequential distribution data can be input as either simulations or percentiles over time (columns). Plots are added to existing graphic devices using the fan function. Users can choose from four different styles, including fan chart type plots, where a set of coloured polygon, with shadings corresponding to the percentile values are layered to represent different uncertainty levels. ll{ Package: fanplot Type: Package License: GPL-2 }

References

Blog posts with many additional details of the implementation of functions in the package can be found at: http://gjabel.wordpress.com/category/r/fanplot/

Examples

Run this code
# empty plot
plot(NULL, type = "n", xlim = c(1, 945), ylim = range(th.mcmc), ylab = "Theta")

# add fan
fan(th.mcmc)

Run the code above in your browser using DataLab