Learn R Programming

paleobioDB (version 1.0.0)

pbdb_temporal_resolution: Temporal resolution of fossil data

Description

Shows the temporal resolution of the fossil data.

Usage

pbdb_temporal_resolution(data, do_plot = TRUE)

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).

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.

Examples

Run this code
if (FALSE) {
  data <- pbdb_occurrences(taxon_name = "Canidae", interval = "Quaternary")
  pbdb_temporal_resolution(data)
}

Run the code above in your browser using DataLab