Skip to contents

Compare estimands across a sensitivity analysis or multiple fits

Usage

compare(x, ...)

# Default S3 method
compare(x, y = NULL, ..., exponentiate = FALSE, type = "Overall")

# S3 method for class 'interactmeta_sensitivity'
compare(x, estimand = c("interaction", "modifiers", "combined"), ...)

# S3 method for class 'interactmeta'
compare(
  x,
  y = NULL,
  ...,
  exponentiate = FALSE,
  type = "Overall",
  estimand = "interaction"
)

Arguments

x

An interactmeta_sensitivity object, or two or more fitted objects passed via ... (delegates to legacy compare helpers).

...

For interactmeta_sensitivity, passed to the underlying compare builder (exponentiate, type, …). For multiple fits, forwarded to the internal interaction compare builder.

estimand

Estimand to tabulate when x is an interactmeta_sensitivity object.