get.bin.ages {dispRity}R Documentation

Get time bins ages

Description

Gets time bins for a specific tree using stratigraphy

Usage

get.bin.ages(tree, what = "End", type = "Age", ICS = 2015)

Arguments

tree

A phylo object with a $root.time component

what

Which data to output. Can be "Start", "End" (default), "Range" or "Midpoint".

type

The type of stratigraphic frame. Can be "Age" (default), "Eon", "Epoch", "Era" or "Period".

ICS

The reference year of the International Commission on Stratigraphy (default = 2015).

Author(s)

Thomas Guillerme

See Also

chrono.subsets

Examples

## Loading the data
data(BeckLee_tree)
data(BeckLee_mat50)

## Getting the stratigraphic data
stratigraphy <- get.bin.ages(BeckLee_tree)

## Making stratigraphic time subsets
chrono.subsets(BeckLee_mat50, tree = BeckLee_tree, method = "discrete",
                time = stratigraphy)


[Package dispRity version 1.8 Index]