Skip to contents

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.

Usage

hoo(x, ..., rule = NULL)

Arguments

x

A TMA model object as produced by [units()].

...

Logical expression(s) specifying the subsetting rule to apply. If not provided, uses the `rule` argument.

rule

A single logical expression to use as the subsetting rule (alternative to ...).

Value

The input TMA model object with updated contexts for each unit, where each context contains only rows matching the rule.