The ignorance map and, when a suitability raster was given to
ignorance_map(), the joint map of suitability and ignorance (suitable
or not, known or ignorant). Legend entries give the number and share of
cells in each class.
Usage
plot_ignorance(
x,
type = c("both", "ignorance", "joint"),
max_cells = 5e+05,
base_size = 11,
file = NULL,
width = NULL,
height = NULL
)Arguments
- x
A result of
ignorance_map().- type
"both"(side by side, when there is a joint map),"ignorance"or"joint".- 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 (PDF and SVG at 300 pixels per inch).
References
Tessarolo, G., Ladle, R.J., Lobo, J.M., Rangel, T.F., Hortal, J. (2021) Using maps of biogeographical ignorance to reveal the uncertainty in distributional data hidden in species distribution models. Ecography 44, 1743-1755. doi:10.1111/ecog.05793
Examples
tab <- data.frame(lat_bin = rep(445:454, each = 10),
lon_bin = rep(95:104, 10),
n_records = rpois(100, 20) * rep(0:1, 50),
n_species = 5, n_target = 0)
eff <- gbif_effort_rasters(tab, c(9.5, 10.5, 44.5, 45.5))
plot_ignorance(ignorance_map(eff, half = 10))
