Skip to contents

Kept and removed records in environmental space (one or two pairs of axes) and on the map, coloured by why each was kept.

Usage

plot_env_thinning(x, base_size = 10, file = NULL, width = 3300, height = 2400)

Arguments

x

An env_thinning from thin_environment().

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. The plot is also returned.

width, height

Size of the saved figure in pixels (PDF and SVG at 300 pixels per inch).

Value

A ggplot object.

Examples

# see ?thin_environment