traverse_up: Traverse the tree from node up to the tips

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

View source: R/BioGeoBEARS_readwrite_v1.R

Description

This is a utility function for nodenums_bottom_up.

Usage

1
  traverse_up(tr4, startnode, traverse_records)

Arguments

tr4

A tree object in phylo4 format.

startnode

The node number to start the uppass at.

traverse_records

A list of the nodes visited.

Value

traverse_records

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

phylo4,

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.