StopUnlessBifurcating {TreeSearch} | R Documentation |
Check that all nodes in a tree are bifurcating.
Description
Check that all nodes in a tree are bifurcating.
Usage
StopUnlessBifurcating(parent)
Arguments
parent |
Integer vector corresponding to the first column of the edge
matrix of a tree of class |
Value
Returns NULL
, but will stop
with an error message if a tree
does not appear to be bifurcating.
Author(s)
Martin R. Smith
[Package TreeSearch version 1.5.1 Index]