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.4, https://github.com/belayb/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.4},
    url = {https://github.com/belayb/bayesgmed},
  }