Learn R Programming

tma (version 0.3.1)

hoo: Apply a Subsetting Rule to TMA Contexts (Internal)

Description

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)

Value

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

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 ...).