plot_occ_spatial: Create temporal plots of species occurrence data

View source: R/plot_occ_spatial.R

plot_occ_spatialR Documentation

Create temporal plots of species occurrence data

Description

This function summarises occurrence data in a spatial context.

Usage

plot_occ_spatial(data, range, za, ptheme)

Arguments

data

sf point object with species occurrence data

range

sf polygon defining the species range (IUCN, expert polygon, or QDS range)

za

shapefile of South Africa read in as an sf object

ptheme

ggplot theme object

Details

The function draws three plots showing occurrence records overlaid on South Africa. Plots are written to the species directory.

Value

Spatial JPEG plots: 1) ⁠occ_map_{sppselect}⁠; 2) ⁠occ_map_decadal_{sppselect}⁠; and 3) ⁠occ_map_inset_{sppselect}⁠

Note

The size of the text and other elements of the plots can be change by customising the theme object.

Author(s)

Dominic Henry

Examples

## Not run: 
plot_occ_spatial(occ_data_sf, range, za, ptheme)

## End(Not run)

DomHenry/SDMutils documentation built on Feb. 6, 2024, 8:51 p.m.