get.bin.ages: Get time bins ages

View source: R/get.bin.ages.R

get.bin.agesR 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)


TGuillerme/dispRity documentation built on Dec. 21, 2024, 4:05 a.m.