Learn R Programming

BioGeoBEARS (version 0.2.1)

cornerpies: Make pie charts for plotting ranges on corners

Description

This function makes pie charts for plotting ranges on corners. It makes use of ape:::floating.pie.asp to plot the pie charts on the corners.

Usage

cornerpies(pievals, coords, piecol, adj = c(0.5, 0.5), ...)

Arguments

pievals
The matrix (numnodes x numstates) of probabilities to plot.
coords
The coordinates at which to plot the labels.
piecol
The color for each possible state.
adj
Position adjustment; default adj=c(0.5,0.5)
...
Additional arguments to standard functions

Value

nothing

Details

To get the corner coordinates, use corner_coords. Please note the special input required in that function to get it to access a corner-coordinates function in the extensions data (extdata) directory.

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster https://code.google.com/p/lagrange/

Matzke_2012_IBS

ReeSmith2008

See Also

cornerlabels, corner_coords, get_lagrange_nodenums, LGpy_splits_fn_to_table, LGcpp_splits_fn_to_table

Examples

Run this code
test=1

Run the code above in your browser using DataLab