Skip to contents

L at every thinning grain and search range, and the spread of L over the subsamples of linking_stability(), against the reference L.

Usage

plot_linking_stability(
  x,
  base_size = 11,
  file = NULL,
  width = 2100,
  height = 1350
)

Arguments

x

A linking_stability object.

base_size

Base font size.

file

Optional file(s) to save the plot to, e.g. "fig.pdf" or c("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).

Value

A ggplot object.

References

Barve, N., Barve, V., Jimenez-Valverde, A., et al. (2011) The crucial role of the accessible area in ecological niche modeling and species distribution modeling. Ecological Modelling 222, 1810-1819. doi:10.1016/j.ecolmodel.2011.02.011

Examples

sim <- simulate_enm_data(seed = 1, n_presence = 150)
st <- linking_stability(sim$presence, thin_km = c(2, 5),
                        link_search = list(c(10, 100), c(20, 200)),
                        n_rep = 5)
plot_linking_stability(st)