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_sensitivityobject, 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.- y
Optional second fit when comparing two CAMS fits via the
interactmetamethod.- exponentiate
If
TRUE, tabulate ratio-scale effects where applicable.- type
Forestplot row grouping passed to the interaction compare builder (default
"Overall").- estimand
Ignored for
interactmetafits; used only forinteractmeta_sensitivityobjects.
