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

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/BioGeoBEARS_generics_v1.R

Description

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

Usage

1
2
  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.)

Details

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

Value

obj The corrected phylogeny

Note

Go BEARS!

Author(s)

Nicholas J. Matzke matzke@berkeley.edu

References

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

Matzke_2012_IBS

See Also

read.tree, prt, average_tr_tips

Examples

1
test=1

Example output

Loading required package: rexpokit
Loading required package: SparseM

Attaching package: 'SparseM'

The following object is masked from 'package:base':

    backsolve

Loading required package: Rcpp
Loading required package: cladoRcpp
Loading required package: ape
Loading required package: phylobase

Attaching package: 'phylobase'

The following object is masked from 'package:ape':

    edges

BioGeoBEARS documentation built on May 29, 2017, 8:36 p.m.