plot.climate_histories: Plots of posterior Bclim climate histories

Description Usage Arguments Details Value See Also

Description

Create plots of climate histories from a Bclim run. For examples why not see the wonderful Bclim vignette (available at https://cran.r-project.org/web/packages/Bclim/index.html) and the author's personal webpage (https://maths.ucd.ie/parnell)?

Usage

1
2
3
4
5
6
## S3 method for class 'climate_histories'
plot(x, dim = 1, slice_clouds = TRUE,
  chron = NULL, climate_ribbon = TRUE, most_representative = 1,
  conf = c(0.95, 0.75, 0.5), col_clouds = grDevices::rgb(0, 0, 1, 0.2),
  col_ribbon = grDevices::rgb(1, 0, 0, 0.4),
  col_representative = grDevices::rgb(0, 1, 0), present_left = TRUE, ...)

Arguments

x

The output of a Bclim run from climate_histories

dim

The chosen climate dimension. This could be GDD5 (dim=1), MTCO (dim=2) or AET/PET (dim=3)

slice_clouds

Whether to ploy the individual layer clouds (default TRUE)

chron

A chronology file (see climate_histories for details). Only required if layer_clouds=TRUE

climate_ribbon

Whether to plot the climate ribbon, i.e. the time slices quantiles (default=TRUE)

most_representative

The number of representative climate histories to plot. See Details section below. Can be set to zero if none are required

conf

The confidence levels of the layer clouds and the climate histories. Default is 95%, 75% and 50% shading

col_clouds

The colour of the climate clouds. Default is blue with 20% transparency

col_ribbon

The colour of the climate ribbon. Default is red with 40% transparency

col_representative

The colour of the representative climate histories. Default is green

present_left

Whether the present (i.e. 0 years before present) should be on the left or the right of the plot. Default is to put it on the left

...

Other arguments to the plot function, such as axis labels, titles etc

Details

This function creates the default Bclim plots of climate histories and layer clouds from a Bclim run. Users can turn on or off the layer clouds and summaries of the the climate histories (the ‘climate ribbon’), and change the confidence level shown on the plots. The function also allows for a number of ‘representative histories’ to be plotted. These are considered to be the climate histories that are the median distance away from the point-wise medians.

Value

No output, just a plot

See Also

The main Bclim functions are slice_clouds and climate_histories.


andrewcparnell/Bclim documentation built on May 12, 2019, 3:38 a.m.