Learn R Programming

BioGeoBEARS (version 0.2.1)

extend_tips_to_ultrametricize: Take a tree, extend all tips (including fossils) up to 0.0 my before present

Description

Makes tree precisely ultrametric by extending the terminal branches up to the highest tip (which is treated as 0 my before present).

Usage

extend_tips_to_ultrametricize(obj, age_of_root = 0, tips_end_at_this_date = NA)

Arguments

obj
An ape phylo object.
age_of_root
The length of the branch below the root. Default 0.
tips_end_at_this_date
The tips can be set to something other than 0, if desired. (This could produce negative branclengths, however.)

Value

obj The corrected phylogeny

Details

This function ADDS the time_before_present to everything, including fossils. You have been warned.

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster

Matzke_2012_IBS

See Also

read.tree, prt, average_tr_tips

Examples

Run this code
test=1

Run the code above in your browser using DataLab