Learn R Programming

assertive (version 0.2-6)

assert_is_leaf: Is the input a (dendrogram) leaf?

Description

Checks to see if the input is a (dendrogram) leaf.

Usage

assert_is_leaf(x)

is_leaf(x, .xname = get_name_in_parent(x))

Arguments

x
Input to check.
.xname
Not intended to be used directly.

Value

  • is_leaf reimplements is.leaf, providing more information on failure.

See Also

dendrogram.