Description Usage Arguments Value Author(s) References Examples
Calculate fair proportions phylogenetic diversity metric
Note that as.rateMatrix
calls the CAIC function vcv.array
multiple times and this can be slow for large phylogenies (though faster than using the "ape" equivalent vcv.phylo
).
1 | fairProportions(phy, nodeCount = FALSE)
|
phy |
An object of class |
nodeCount |
Logical - should root to tip node counts be returned (default is |
Returns a matrix of fair proportion for all tips in phylogeny and node counts if selected.
Gavin Thomas
Redding, D.W. and Mooers, A.O. (2006). Incorporating evolutionary measures into conservation prioritisation. Conservation Biology, 20, 1670-1678.
Isaac, N.J.B., Turvey, S.T., Collen, B., Waterman, C. and Baillie, J.E.M. (2007). Mammals on the EDGE: conservation priorities based on threat and phylogeny. PLoS ONE, 2, e296.
1 2 3 4 | data(anolis.tree)
fp <- fairProportions(anolis.tree)
fpNodes <- fairProportions(anolis.tree, nodeCount=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.