Learn R Programming

Bclim (version 2.3.1)

plotBclim: Plots of posterior Bclim climate histories

Description

Create plots of climate histories from a Bclim run

Usage

plotBclim(x, dim = 1, title = NULL, presentleft = TRUE, blob = TRUE, MDPcol = "blue", 
  denscol = "red", MDPtransp = 0.1, denstransp = 0.5, leg = TRUE, legloc = "topleft", ...)

Arguments

x
The output of a Bclim run from either BclimCompile or BclimRun.
dim
The chosen climate dimension. This could be GDD5 (dim=1), MTCO (dim=2) or AET/PET x 100 (dim=3)
title
The title for the plot
presentleft
ether you wish to have the present on the left hand side (default) or on the right hand side
blob
Whether to include the marginal data posteriors (MDPs) as blobs or not
MDPcol
The colour of the MDPs (only works if blob=TRUE)
denscol
The colour of the 50/75/95% posterior climate ranges
MDPtransp
The transparency (between 0 and 1) of the MDPs
denstransp
The transparency (between 0 and 1) of the posterior climate ranges
leg
Whether to include a legend or not (default TRUE)
legloc
Where to place the legend (e.g. 'topleft', 'bottomright', etc)
...
Other arguments to the plot function

Value

  • No output, just a plot

Details

This function creates the default Bclim plots of climate posteriors and MDPs from a Bclim run. If you don't like these then remember that the Bclim object created for x above contains all the information you need to create any other plot you would like.

See Also

The main Bclim function is BclimRun. See there for all the other information.

Examples

Run this code
## See help for BclimMCMC and webpage at http://mathsci.ucd.ie/~parnell_a/Bclim.html

Run the code above in your browser using DataLab