divdistr_int function

Count number of taxon records overlapping a specific time interval.

Count number of taxon records overlapping a specific time interval.

divdistr_int(x, table = NULL, ids = FALSE, max = table$max, min = table$min)

Arguments

  • x: A numeric vector of length 2 specifying the start and end (in ma) of the time interval in question.
  • table: Taxon-range table to use
  • ids: Logical whether to return ids of entries in taxon-range table (defaults to FALSE) or their number
  • max: Vector or column containing the maximum age of each entry in the taxon-range table. Defaults to table$max
  • min: Vector or column containing the minimum age of each entry in the taxon-range table. Defaults to table$min

Returns

A single numeric giving the number of entries in table overlapping the specified interval, or a numeric vector giving their indices.

Examples

data(archosauria) divdistr_int(x=c(201,220), table=archosauria$sptab_Coelophysoidea)
  • Maintainer: Darius Nau
  • License: GPL (>= 3)
  • Last published: 2025-03-23

Useful links