Skip to contents

For each predictor, the availability ratio of every bin of the records' range (share of M's cells relative to an even spread), with the limit of thin representation, and the number of records per bin.

Usage

plot_m_availability(
  x,
  base_size = 11,
  file = NULL,
  width = 2400,
  height = 1500
)

Arguments

x

An m_availability from m_availability().

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

Jimenez, L., Soberon, J. (2022) Estimating the fundamental niche: accounting for the uneven availability of existing climates in the calibration area. Ecological Modelling 464, 109823. doi:10.1016/j.ecolmodel.2021.109823

Examples

# see ?m_availability