
Plot the designs of a bias-correction sensitivity analysis
Source:R/bias.R
plot_bias_sensitivity.RdOne point per design (thinning x background) on two chosen measures,
coloured by thinning method and shaped by background, with the
uncorrected design ringed: the designs side by side, as
plot_m_area() shows the scenarios of m_scenarios().
Usage
plot_bias_sensitivity(
x,
x_axis = "n",
y_axis = "env_coverage",
base_size = 11,
file = NULL,
width = 2250,
height = 1650
)Arguments
- x
A
bias_sensitivityfrombias_sensitivity().- x_axis, y_axis
Measures to plot (columns of
x$designs), e.g."n","env_coverage","niche_kept","clark_evans","range_kept","shift","overlap","bg_coverage".- 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).
References
Baker, D.J., Maclean, I.M.D., Gaston, K.J. (2024) Effective strategies for correcting spatial sampling bias in species distribution models without independent test data. Diversity and Distributions 30, e13802. doi:10.1111/ddi.13802