convert.sptab function

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

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

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

Returns

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)
  • Maintainer: Darius Nau
  • License: GPL (>= 3)
  • Last published: 2025-03-23

Useful links