calcNdsBlnc: Calculate the balances of all nodes

Description Usage Arguments Details See Also Examples

Description

Returns the absolute differences in number of descendants for bifurcating branches of every node

Usage

1
calcNdsBlnc(tree, nids, ...)

Arguments

tree

TreeMan object

nids

node ids

...

plyr arguments

Details

Runs calcNdBlnc() across all node IDs. NA is returned if the node is polytomous. Parallelizable.

See Also

calcNdBlnc, https://github.com/DomBennett/treeman/wiki/calc-methods

Examples

1
2
3
library(treeman)
tree <- randTree(10)
calcNdsBlnc(tree, nids=tree['nds'])


Search within the treeman package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.