divdistr_int {paleoDiv}R Documentation

Count number of taxon records overlapping a specific time interval.

Description

Count number of taxon records overlapping a specific time interval.

Usage

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

Value

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)

[Package paleoDiv version 0.3.0 Index]