convert.sptab {paleoDiv} | R Documentation |
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)
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 |
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.
data(archosauria)
data(tree_archosauria)
convert.sptab(archosauria$sptab_Coelophysoidea,tree_archosauria)