View source: R/plot_emulated.R
For Figure 1 and ED Figures 1c (via plot_sens_pliocene()), 3, 4 and 7, results for Figure 4 and ED Figure 5, and Table 2. Plot and write out all emulator prediction results. Only time = 2100 is in data file provided, but code could be adapted if needed. Uses RColorBrewer package for ED Figure 4 colours and Hmisc package for minor.tick().
1 2 | plot_emulated(em_data, calib_data, calib_em, sim_data, calib_sim, a_type,
time, calib_era, cred_list, ep_list)
|
em_data |
Emulation ensemble data. |
calib_data |
List of calibration data ranges: c(mean, sd) for Pliocene, LIG and present. List names are set in main(): "PLIO", "LIG" and "RCP45_pres". |
calib_em |
Calibration index for emulator ensemble (i.e. FALSE for each ruled out ensemble member). |
sim_data |
Simulation data to add to plots. |
calib_sim |
Calibration index for simulator ensemble (i.e. FALSE for each ruled out ensemble member). |
a_type |
Analysis type: "MICI" or "NoMICI". |
time |
Year of projections (deprecated: only 2100 in data file). |
calib_era |
Which era(s) to use for calibration. Options: "threeEras", "palaeo" or "present". |
cred_list |
List of credibility thresholds for data file. |
ep_list |
List of exceedance probability thresholds for data file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.