Learn R Programming

paleoDiv (version 0.4.6)

tsconv: Convert geological ages for accurate plotting alongside a calibrated phylogeny

Description

Convert geological ages for accurate plotting alongside a calibrated phylogeny

Usage

tsconv(x, phylo0 = NULL, root.time = phylo0$root.time)

Value

A numeric() containing the converted geological ages

Arguments

x

A vector of geological ages to be converted.

phylo0

Phylogeny from which to take root.age

root.time

Numeric root age, if not taken from a phylogeny

Examples

Run this code
tsconv(c(252,201,66), root.time=300)

Run the code above in your browser using DataLab