plot_occ_temporal: Create temporal plots of species occurrence data

View source: R/plot_occ_temporal.R

plot_occ_temporalR Documentation

Create temporal plots of species occurrence data

Description

This function summarises occurrence data in a temporal context.

Usage

plot_occ_temporal(data, ptheme)

Arguments

data

sf point object with species occurrence data

ptheme

ggplot theme

Details

The function draws two plots showing occurrence record frequencies and writes them to the species directory.

Value

Temporal JPEG plots: 1) ⁠occ_frequency_date_1980_{sppselect}⁠ and 2) ⁠occ_frequency_date_all_{sppselect}⁠.

Note

The size of the text and other elements of the plots can be change by customising the theme object. Also take note of the undeclared variables: sdm_dir, sppselect, year_date, and undated.

Author(s)

Dominic Henry

Examples

## Not run: 
plot_occ_temporal(occ_data_sf, ptheme)

## End(Not run)

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