Skip to contents

Each ensemble method against the median, cell by cell, over the sampled cells of ensemble_scenarios(), with the 1:1 line.

Usage

plot_ensemble_scenarios(
  x,
  base_size = 11,
  file = NULL,
  width = 2400,
  height = 1050
)

Arguments

x

An ensemble_scenarios object.

base_size

Base font size.

file

Optional file(s) to save the plot to, e.g. "fig.pdf" or c("fig.png", "fig.pdf"); the format follows the extension, and a name without extension is saved as PNG and PDF.

width, height

Size of the saved figure in pixels (PDF and SVG at 300 pixels per inch).

Value

A ggplot object.

References

Zhu, G., Fan, J., Peterson, A.T. (2021) Cautions in weighting individual ecological niche models in ensemble forecasting. Ecological Modelling 448, 109502. doi:10.1016/j.ecolmodel.2021.109502

Examples

# see ?ensemble_scenarios