pbdb_temporal_resolution: Temporal resolution of fossil data

View source: R/pbdb_temporal_functions.R

pbdb_temporal_resolutionR Documentation

Temporal resolution of fossil data

Description

Shows the temporal resolution of the fossil data.

Usage

pbdb_temporal_resolution(data, do_plot = TRUE)

Arguments

data

Data frame from a query to PaleobioDB as returned by pbdb_occurrences().

do_plot

Logical. If TRUE, the function creates a frequency plot of the data.

Value

A list with a summary of the temporal resolution of the data (min, max, 1st and 3rd quartiles, median and mean), and the temporal resolution of each fossil record (Ma).

Examples

## Not run: 
  data <- pbdb_occurrences(taxon_name = "Canidae", interval = "Quaternary")
  pbdb_temporal_resolution(data)

## End(Not run)

ropensci/paleobioDB documentation built on March 5, 2024, 3:08 a.m.