An S7 class produced by TTEST pipelines using pairwise() as the
variable mapper <var_id>. Not constructed manually — use the pipeline instead.
Inherits from class_stat_infer, so auto_tidy() dispatches on it
automatically. Downstream packages can use it as a parent in
S7::new_class().
Details
Slots (populated automatically by TTEST):
var1: first variable in each pair.var2: second variable in each pair.est: mean difference per pair (or sample mean for one-sample mode).df: degrees of freedom per pair.t_stat: t-statistic per pair.p_value: p-value per pair.method_name: scalar string describing the test method, taken directly fromstats::t.test(). Must be length 1 — all pairs must share the same method.
One-sample mode
When pairwise() uses direction = "eq", var1 and var2 are
identical (each variable tested against itself). print() detects this
and renders a diagonal-only matrix.