To cite package ‘BayesGmed’ in publications use:

Yimer B, Lunt M, Beasley M, Macfarlane G, McBeth J (2024). BayesGmed: Bayesian Causal Mediation Analysis using 'Stan'. R package version 0.0.3, https://CRAN.R-project.org/package=BayesGmed.

Corresponding BibTeX entry:

  @Manual{,
    title = {BayesGmed: Bayesian Causal Mediation Analysis using
      'Stan'},
    author = {Belay Birlie Yimer and Mark Lunt and Marcus Beasley and
      Gary J Macfarlane and John McBeth},
    year = {2024},
    note = {R package version 0.0.3},
    url = {https://CRAN.R-project.org/package=BayesGmed},
  }