To cite package coda in publications use:
Martyn Plummer, Nicky Best, Kate Cowles and Karen Vines (2006). CODA: Convergence Diagnosis and Output Analysis for MCMC, R News, vol 6, 7-11
Corresponding BibTeX entry:
@Article{, title = {CODA: Convergence Diagnosis and Output Analysis for MCMC}, author = {Martyn Plummer and Nicky Best and Kate Cowles and Karen Vines}, journal = {R News}, year = {2006}, volume = {6}, number = {1}, pages = {7--11}, url = {https://journal.r-project.org/archive/}, pdf = {https://www.r-project.org/doc/Rnews/Rnews_2006-1.pdf}, }