plot_sens_pliocene: Plot sensitivity of projections to Pliocene minimum value.

Description Usage Arguments Examples

View source: R/plot_sens_pliocene.R

Description

For Extended Data Figure 1a,b (source = "Simulated") and c (source = "Emulated"). In theory other RCPs can be plotted, but this is untested.

Usage

1
2
plot_sens_pliocene(dataset, calib_data, calib_em = NULL, source,
  var_future = "RCP85_2100", dobias = NA)

Arguments

dataset

Dataset to use, whether simulated or emulated.

calib_data

List of calibration data: c(mean, sd) for Pliocene, LIG and present. List names are set in main(): "PLIO", "LIG" and "RCP45_pres".

calib_em

Calibration index for emulated ensemble: do not use for source = "Simulated".

source

Data type: "Simulated" or "Emulated".

var_future

Variable to plot vs Pliocene minimum (Deprecated: only tested for RCP8.5 at 2100).

dobias

Bias on or off (simulated only) or both (for emulated).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# ED Figure 1a (simulated, bias off)
plot_sens_pliocene(dataset = sim_data, calib_data = calib_data,
                   source = "Simulated", dobias = FALSE)

# ED Figure 1b (simulated, bias on)
plot_sens_pliocene(dataset = sim_data, calib_data = calib_data,
                   source = "Simulated", dobias = TRUE)

# ED Figure 1c (emulated, bias all continuous values)
plot_sens_pliocene(dataset = sim_data, calib_data = calib_data,
                   alib_em = calib_em, source = "Emulated")

## End(Not run)

tamsinedwards/revisitmici documentation built on May 13, 2019, 9:53 p.m.