Skip to contents

interactmeta 0.1.0

New features

  • tidy() method for interactmeta fits: one long export table across interaction, modifier, combined, and heterogeneity estimands.
  • plot(fit, type = ...) routes contribution (default), heterogeneity, and forest plots.
  • sensitivity() and compare() for construction sensitivity analyses.
  • print() and summary() for da(), ad(), and swada() fits now use the cams() layout. Output covers trials, modifier levels, and the reference level; method, engine, and the estimand; priors (Bayesian); and a metafor- or bayesmeta-style parameter matrix. summary() adds heterogeneity (with QQ / I2I^2 for metafor fits), per-trial data and weights, and the modifier-level / interaction tables. Construction fits now store $engine. For Bayesian DA / AD, heterogeneity() now reports the native bayesmeta τ\tau median and interval, plus mean and sd, at the requested prob.

Performance

  • cams() defaults to precompute = FALSE and lazy_latent = TRUE: fit returns after the bayesmeta blocks and DIRECT support, without warming marginal caches or per-trial latent convolves. print(), summary(), and tidy() build reporting on first use; pass precompute = TRUE for the previous eager behaviour.
  • fit_args = list(n_support = …) is forwarded to both bmr and bayesmeta as n.support to reduce quadrature grid size.
  • On-demand trial latents for shrinkage() and Bayesian forestplot() shrinkage rows use the independent-block mixture product only (trial_marginals = "trials"). lazy_latent = FALSE still builds trial blocks at fit time with the same mixture product as on-demand shrinkage (no per-trial bayesmeta::convolve() at fit).

Documentation

Breaking changes

Internal

  • interactmeta_marginal() canonical marginal dispatch for reporting code paths.