Skip to contents

Calculates regional clade richness for lineages

Usage

regional_clade_richness(
  df.TS.TE,
  time.slice,
  round.digits = 1,
  species = "species",
  TS = "TS",
  TE = "TE"
)

Arguments

df.TS.TE

Data frame object containing at least four columns. Species names, origination time, extinction time and a trait value for each species.

time.slice

Scalar indicating the time interval between consecutive time slices.

round.digits

Scalar indicating the precision of time slices.

species

Character indicating the name of the column of the data frame containing the species name information.

TS

Character indicating the name of the columns of the data frame containing the information on origination time.

TE

Character indicating the name of the column of the data frame containing the information on extinction time.

Value

A data frame with richness information in each timeslice