convert.sptab {paleoDiv}R Documentation

Convert geological ages in taxon-range tables as constructed by mk.sptab() for plotting alongside a time-calibrated phylogeny.

Description

Convert geological ages in taxon-range tables as constructed by mk.sptab() for plotting alongside a time-calibrated phylogeny.

Usage

convert.sptab(sptab, tree = NULL, root.time = tree$root.time)

Arguments

sptab

Taxon-range table to convert

tree

Optional phylogenetic tree to draw root.time from

root.time

Root time of the tree, used for converting ages

Value

A data.frame() object in the format of the original taxon-range table, but with geological ages converted for plotting alongside the the phylogenetic tree.

Examples

data(archosauria)
data(tree_archosauria)
convert.sptab(archosauria$sptab_Coelophysoidea,tree_archosauria)

[Package paleoDiv version 0.3.0 Index]