| assert_is_leaf {assertive.types} | R Documentation |
Checks to see if the input is a (dendrogram) leaf.
assert_is_leaf(x, severity = getOption("assertive.severity", "stop"))
is_leaf(x, .xname = get_name_in_parent(x))
x |
Input to check. |
severity |
How severe should the consequences of the assertion be?
Either |
.xname |
Not intended to be used directly. |
is_leaf reimplements is.leaf, providing more
information on failure.