powered by
TBR Warning Print a warning and return given tree
SPRWarning(parent, child, error)TBRWarning(parent, child, error)
TBRWarning(parent, child, error)
A list with the entries parent, child.
parent
child
Integer vector corresponding to the first column of the edge matrix of a tree of class phylo, i.e. tree$edge[, 1].
phylo
tree$edge[, 1]
Integer vector corresponding to the second column of the edge matrix of a tree of class phylo, i.e. tree$edge[, 2].
tree$edge[, 2]
error message to report
SPRWarning(): for SPR rearrangements
SPRWarning()
Martin R. Smith
suppressWarnings(TBRWarning(0, 0, "Message text")) # will trigger warning
Run the code above in your browser using DataLab