Skip to contents

Returns one long tibble::tibble suitable for export, QC, or downstream tables. Uses the same canonical settings as the default cams() reporting bundle (summary = TRUE, type = "Overall" for pooled rows).

Usage

# S3 method for class 'interactmeta'
tidy(
  x,
  estimands = c("interaction", "modifiers", "combined", "heterogeneity"),
  type = "Overall",
  at = NULL,
  ifrac = NULL,
  prob = NULL,
  exponentiate = NULL,
  contrast_sep = NULL,
  summary = TRUE,
  ...
)

Arguments

x

An interactmeta object from cams().

estimands

Character vector: "interaction", "modifiers", "combined", "heterogeneity".

type

Passed to marginal extractors ("Overall", "Prediction", or both).

at

Reporting information fraction; NULL uses the pooled ifrac().

ifrac

Weighting for pooled IF ("interaction" or "overall").

prob

Interval probability.

exponentiate

If NULL, uses x$reporting$exponentiate when set.

contrast_sep

Contrast separator for interaction labels.

summary

Must be TRUE for tidy export (pooled summary rows).

...

Ignored.

Value

A tibble with estimand plus columns from generics::tidy().