Performs parametric mediation analysis using the Bayesian g-formula approach for binary and continuous outcomes. The methodology is based on Comment (2018) <doi:10.5281/zenodo.1285275> and a demonstration of its application can be found at Yimer et al. (2022) <doi:10.48550/arXiv.2210.08499>. 
| Version: | 0.0.3 | 
| Depends: | R (≥ 3.4.0) | 
| Imports: | methods, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥
2.18.1), rstantools (≥ 2.1.1) | 
| LinkingTo: | BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥
2.18.0) | 
| Suggests: | knitr, rmarkdown | 
| Published: | 2024-01-31 | 
| DOI: | 10.32614/CRAN.package.BayesGmed | 
| Author: | Belay Birlie Yimer  [aut, cre],
  Mark Lunt [aut],
  Marcus Beasley [aut],
  Gary J Macfarlane [aut],
  John McBeth [aut] | 
| Maintainer: | Belay Birlie Yimer  <belaybirlie.yimer at manchester.ac.uk> | 
| License: | MIT + file LICENSE | 
| NeedsCompilation: | yes | 
| SystemRequirements: | GNU make | 
| Materials: | README, NEWS | 
| CRAN checks: | BayesGmed results |