Skip to contents

Returns the smallest leaf n_obs across all terminal endpoints. This value drives the next MINDENOM step in the MDSA descendant family: next_mindenom = cta_min_terminal_denom(tree) + 1L.

Usage

cta_min_terminal_denom(tree)

Arguments

tree

A cta_tree from oda_cta_fit.

Value

Minimum leaf n_obs as an integer, or NA_integer_ for no-tree fits.

Details

Returns NA_integer_ for no-tree fits.