Skip to contents

Maps the mean of the replicate predictions and their standard deviation (or coefficient of variation), from coordinate_spread().

Usage

plot_coordinate_spread(
  x,
  type = c("both", "mean", "spread"),
  spread = c("sd", "cv"),
  max_cells = 5e+05,
  base_size = 11,
  file = NULL,
  width = NULL,
  height = NULL
)

Arguments

x

A result of coordinate_spread().

type

"both", "mean" or "spread".

spread

"sd" or "cv".

max_cells

Largest number of cells drawn.

base_size

Base font size.

file

Optional file(s) to save the plot to.

width, height

Size of the saved figure in pixels (default 3900 x 1650 for both panels, 2100 x 1650 for one; PDF and SVG at 300 pixels per inch).

Value

A ggplot, or for type = "both" invisibly a list of two.

References

Gabor, L. et al. (2023) Species distribution models affected by positional uncertainty in species occurrences can still be ecologically interpretable. Ecography 2023, e06358. doi:10.1111/ecog.06358

Examples

# see ?coordinate_spread