Learn R Programming

TreeSearch (version 0.4.3)

SPRWarning: 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

error

error message to report

tree

tree to return

Value

the tree specified in tree

Functions

  • SPRWarning: for SPR rearrangements

Examples

Run this code
# NOT RUN {
suppressWarnings(TBRWarning(0, 0, 'Message text')) # will trigger warning


# }

Run the code above in your browser using DataLab