Learn R Programming

BioGeoBEARS (version 0.2.1)

add_corners: Iterate up through a plotted tree, getting the coordinates of the corners

Description

What it says.

Usage

add_corners(startnode, tr, nodecoords, corners_list)

Arguments

startnode
The node to start at (this is a recursive function)
tr
A tree object in phylo format.
nodecoords
The accumulating list of node coordinates
corners_list
The accumulating list of corners

Value

corners_list

References

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

Matzke_2012_IBS

See Also

phylo, get_nodenums

Examples

Run this code
blah=1

Run the code above in your browser using DataLab