To cite package ‘bmlm’ in publications use: Vuorre M, Bolger N (2018). “Within-subject mediation analysis for experimental data in cognitive psychology and neuroscience.” _Behavior Research Methods_. doi:10.3758/s13428-017-0980-9 . A BibTeX entry for LaTeX users is @Article{, title = {Within-subject mediation analysis for experimental data in cognitive psychology and neuroscience}, author = {Matti Vuorre and Niall Bolger}, journal = {Behavior Research Methods}, year = {2018}, doi = {10.3758/s13428-017-0980-9}, } Vuorre M (2023). _bmlm: Bayesian Multilevel Mediation_. R package version 1.3.15, . A BibTeX entry for LaTeX users is @Manual{, title = {bmlm: Bayesian Multilevel Mediation}, author = {Matti Vuorre}, year = {2023}, note = {R package version 1.3.15}, url = {https://CRAN.R-project.org/package=bmlm}, }