SPRWarning {TreeSearch} | R Documentation |
TBR Warning Print a warning and return given tree
Description
TBR Warning Print a warning and return given tree
Usage
SPRWarning(parent, child, error)
TBRWarning(parent, child, error)
Arguments
parent |
Integer vector corresponding to the first column of the edge
matrix of a tree of class |
child |
Integer vector corresponding to the second column of the edge
matrix of a tree of class |
error |
error message to report |
Value
A list with the entries parent
, child
.
Functions
-
SPRWarning()
: for SPR rearrangements
Author(s)
Martin R. Smith
Examples
suppressWarnings(TBRWarning(0, 0, "Message text")) # will trigger warning
[Package TreeSearch version 1.6.1 Index]