The ensemble prediction and, next to it, the standard deviation (or
coefficient of variation) between the models used, from
ensemble_models(). Large rasters are drawn from a regular sample of
about max_cells cells.
Arguments
- x
A result of
ensemble_models().- type
"both"(side by side),"ensemble"or"disagreement".- disagreement
"sd"or"cv".- max_cells
Largest number of cells drawn.
- base_size
Base font size.
- file
Optional file(s) to save the plot to, e.g.
"fig.pdf"orc("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 (default 3900 x 1650 for both panels, 2100 x 1650 for one; PDF and SVG at 300 pixels per inch).
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
sim <- simulate_enm_data(seed = 1)
ens <- ensemble_models(sim$models)
plot_ensemble(ens)
