Internal helper to apply a logical subsetting rule ("hoo rule") to each unit's context in a TMA model object. Updates the contexts for each unit by including only rows that match the rule.
hoo(x, ..., rule = NULL)The input TMA model object with updated contexts for each unit, where each context contains only rows matching the rule.
A TMA model object as produced by [units()].
Logical expression(s) specifying the subsetting rule to apply. If not provided, uses the `rule` argument.
A single logical expression to use as the subsetting rule (alternative to ...).