Skip to contents

Coverage of the environmental space of M (bins and area) and the largest Kolmogorov-Smirnov distance of the marginal distributions against the number of background points, with every draw and the mean, from background_sufficiency().

Usage

plot_background_sufficiency(
  x,
  base_size = 11,
  file = NULL,
  width = 2100,
  height = 1500
)

Arguments

x

A background_sufficiency object.

base_size

Base font size.

file

Optional file(s) to save the plot to; the format follows the extension, 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

Whitford, A.M., Shipley, B.R., McGuire, J.L. (2024) The influence of the number and distribution of background points in presence-background species distribution models. Ecological Modelling 488, 110604. doi:10.1016/j.ecolmodel.2023.110604

Examples

# see ?background_sufficiency