Learn R Programming

BioGeoBEARS (version 0.2.1)

traverse_up: Traverse the tree from node up to the tips

Description

This is a utility function for nodenums_bottom_up.

Usage

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

References

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

Matzke_2012_IBS

See Also

phylo4,

Examples

Run this code
test=1

Run the code above in your browser using DataLab