One metric (by default AOO) under each threshold rule, per projection, with the IUCN criterion-B thresholds as dashed lines, so you can see whether the rule moves the range across a Red List threshold.
Usage
plot_range_metrics(
x,
metric = "AOO_km2",
base_size = 11,
file = NULL,
width = 2100,
height = 1350
)Arguments
- x
A result of
range_metrics().- metric
"AOO_km2","EOO_km2","locations","area_km2"or another column ofx$metrics.- 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 (PDF and SVG at 300 pixels per inch).
References
IUCN (2012) IUCN Red List Categories and Criteria: Version 3.1. Second edition. IUCN, Gland and Cambridge.
Examples
sim <- simulate_enm_data(seed = 1)
tab <- extract_predictions(sim$models[["GLM"]], sim$presence,
sim$absence)
th <- thresholds(tab, rules = c("maxSSS", "p10", "maxMCC"))
plot_range_metrics(range_metrics(sim$models[["GLM"]], th))
#> The raster is in longitude/latitude: EOO, AOO and locations are computed in a Lambert azimuthal equal-area projection centred on it.
