To cite package ‘twangMediation’ in publications use:

McCaffrey D, Castellano K, Coffman D, Vegetabile B, Schuler M, Zhou H (2025). twangMediation: Twang Causal Mediation Modeling via Weighting. R package version 1.2.1, https://CRAN.R-project.org/package=twangMediation.

Corresponding BibTeX entry:

  @Manual{,
    title = {twangMediation: Twang Causal Mediation Modeling via
      Weighting},
    author = {Dan McCaffrey and Katherine Castellano and Donna Coffman
      and Brian Vegetabile and Megan Schuler and Haoyu Zhou},
    year = {2025},
    note = {R package version 1.2.1},
    url = {https://CRAN.R-project.org/package=twangMediation},
  }