Skip to contents

Main workflow

Fit a CAMS model with cams(), extract the main effects, and create the principal visualizations.

cams()
Contribution-adjusted meta-analysis for treatment effect modification
ifrac()
Information fraction within each trial and pooled across trials
interactions()
Subgroup-difference (interaction) effects
modifiers()
Modifier-level treatment effects
combined()
Combined-population treatment effect
heterogeneity()
Between-trial heterogeneity from a CAMS fit
shrinkage()
Shrinkage (trial-level) effects from a CAMS fit
forestplot() forestplot.interactmeta() forestplot.interactmeta_da() forestplot.interactmeta_ad() forestplot.interactmeta_swada() forestplot.interactmeta_conventional() forest.interactmeta_da() forest.interactmeta_ad() forest.interactmeta_swada() forest.interactmeta_conventional() forest.interactmeta()
Forest plot for a fitted model
plot_contribution()
Contribution-adjusted CAMS meta-regression over information fraction

Alternative analyses

Separate constructions, plus the Bayesian wrapper.

da()
Estimate a treatment-by-subgroup interaction using the Difference-of-Averages construction
ad()
Estimate a treatment-by-subgroup interaction using the Average-Difference construction
swada()
Apply the Same Weighting Across Different Analyses principle
conventional()
Bundle of DA and AD with analysis-specific weights

Comparison and sensitivity

sensitivity()
Fit multiple meta-analysis constructions on the same data
compare()
Compare estimands across a sensitivity analysis or multiple fits
compare_forestplots()
Lay out several full forest plots side by side (or in a grid)
compare_interactions()
Side-by-side treatment-by-subgroup interactions from DA, AD, SWADA, and CAMS
compare_modifiers()
Side-by-side modifier-level treatment effects from DA, SWADA, and CAMS
compare_combined()
Side-by-side combined-population effects
compare_heterogeneity()
Side-by-side heterogeneity summaries
compare_ifrac()
Side-by-side pooled information fractions
compare_weights()
Trial contribution weights from DA, AD, and SWADA

Diagnostics and inspection

predict_cams_by_if()
CAMS subgroup and overall effects on an information-fraction grid
observed_effects()
Observed trial-level treatment-effect estimates and variances
standardized_trial_effects()
Trial-specific effects standardized to the overall IF
cams_trial_quantities() cam_trial_quantities()
Trial-level CAMS quantities \(\pi_j\), \(m_j\), \(g_j\)
shrinkage_diagnostics()
Diagnostic table for trial-specific CAMS shrinkage
subgroup_long()
Reshape wide subgroup data to long format

Additional plots

plot_modifiers()
Comparable forest of modifier-level treatment effects
plot_heterogeneity() plot(<interactmeta_heterogeneity>)
Heterogeneity plots
forestplot_height()
Recommended figure dimensions for a forest plot
forestplot_default_width_height_ratio()
Default width-to-height ratio for recommended forest export size

Data conversion

log_hr_from_ci()
Log-hazard ratio and SE from a reported HR confidence interval
hr_ci_from_log()
Reconstruct an HR confidence interval from yi and sei

Styling and reporting

interactmeta_palette() subgroupmeta_palette()
Colour palette for interactmeta figures
interactmeta_theme_report() subgroupmeta_theme_report()
Report / dashboard theme for interactmeta ggplot figures
interactmeta_capability_matrix()
Analysis / inference / implementation capabilities

Interoperability

Re-exported helpers from other packages, including escalc().

interactmeta-reexports escalc tidy traceplot
Re-exported helpers from dependencies

Data

age
Age subgroup data for contribution-aware meta-analysis
edss
Subgroup relapse data for contribution-aware meta-analysis
il6
IL-6 antagonist COVID-19 mortality data (REACT meta-analysis)
steroids
Corticosteroid COVID-19 mortality data (REACT meta-analysis)
respire_age
RESPIRE age-subgroup hazard ratios (ciprofloxacin DPI)
respire_sex
RESPIRE sex-subgroup hazard ratios (ciprofloxacin DPI)

Methods

print(<interactmeta>)
Print a CAMS fit (bayesmeta-style)
summary(<interactmeta>) print(<summary.interactmeta>)
Summarize a CAMS fit (bayesmeta-style)
fitted(<interactmeta>)
Linear predictor table for a CAMS fit
as.data.frame(<interactmeta>)
Parameter table of a CAMS fit
tidy(<interactmeta>)
Tidy all CAMS estimands from a fitted model
tidy(<interactmeta_subgroup_effects>)
Tidy a interactmeta_subgroup_effects object
tidy(<interactmeta_interaction_effects>)
Tidy a interactmeta_interaction_effects object
tidy(<interactmeta_combined_effect>)
Tidy an interactmeta_combined_effect object
tidy(<interactmeta_heterogeneity>)
Tidy a interactmeta_heterogeneity object
plot(<interactmeta_compare>) plot(<interactmeta_compare_interactions>) plot(<interactmeta_compare_subgroups>) plot(<interactmeta_compare_combined>) plot(<interactmeta_compare_heterogeneity>) plot(<interactmeta_compare_ifrac>) plot(<interactmeta_compare_weights>)
Plot a comparison table as a forest of estimates
traceplot(<interactmeta>)
Rubin-style shrinkage trace plots for a CAMS fit
print(<interactmeta_overall_ifrac>)
Print overall information fraction summary
plot(<interactmeta>)
CAMS model fit (interactmeta)

About

interactmeta-package interactmeta
Meta-analysis of treatment effect modification from modifier-level aggregate data