suppressNetBinaryNodes: Suppress Network Binary Nodes
Description
Suppress any non-root binary nodes in a phylogenetic network.
Usage
suppressNetBinaryNodes(net, addlength = TRUE)
Arguments
- net
a phylogenetic network, of class "evonet"
- addlength
if TRUE (default), add lengths of two incident edges for new edge.
Details
This function is similar to ape's collapse.singles
which only works
on phylo objects that are trees.