How to cite the R package mediation

mediation is a popular R package that is available at https://cran.r-project.org/web/packages/mediation/index.html. By citing R packages in your paper you lay the grounds for others to be able to reproduce your analysis and secondly you are acknowledging the time and work people have spent creating the package.

APA citation

Formatted according to the APA Publication Manual 7th edition. Simply copy it to the References page as is.

APA

The minimal requirement is to cite the R package in text along with the version number. Additionally, you can include the reference list entry the authors of the mediation package have suggested.

Example of an in-text citation

Analysis of the data was done using the mediation package (v4.5.0; Tingley et al., 2014).

Reference list entry

Tingley, D., Yamamoto, T., Hirose, K., Keele, L., & Imai, K. (2014). mediation: R Package for Causal Mediation Analysis. In Journal of Statistical Software (Vol. 59, Issue 5, pp. 1–38). http://www.jstatsoft.org/v59/i05/

Vancouver citation

Formatted according to Vancouver style. Simply copy it to the references section as is.

Vancouver

Example of an in-text citation

Analysis of the data was done using the mediation package v4.5.0 (1).

Reference list entry

1.
Tingley D, Yamamoto T, Hirose K, Keele L, Imai K. mediation: R Package for Causal Mediation Analysis [Internet]. Vol. 59, Journal of Statistical Software. 2014. p. 1–38. Available from: http://www.jstatsoft.org/v59/i05/

BibTeX

Reference entry in BibTeX format. Simply copy it to your favorite citation manager.

BibTeX
@MISC{Tingley2014-xs,
  title   = "{mediation}: {R} Package for Causal Mediation Analysis",
  author  = "Tingley, Dustin and Yamamoto, Teppei and Hirose, Kentaro and
             Keele, Luke and Imai, Kosuke",
  journal = "Journal of Statistical Software",
  volume  =  59,
  number  =  5,
  pages   = "1--38",
  year    =  2014,
  url     = "http://www.jstatsoft.org/v59/i05/"
}

RIS

Reference entry in RIS format. Simply copy it to your favorite citation manager.

RIS
TY  - MISC
AU  - Tingley, Dustin
AU  - Yamamoto, Teppei
AU  - Hirose, Kentaro
AU  - Keele, Luke
AU  - Imai, Kosuke
TI  - mediation: R Package for Causal Mediation Analysis
T2  - Journal of Statistical Software
VL  - 59
IS  - 5
SP  - 1-38
PY  - 2014
DA  - 2014
UR  - http://www.jstatsoft.org/v59/i05/
ER  - 

Other citation styles (ACS, ACM, IEEE, ...)

BibGuru offers more than 8,000 citation styles including popular styles such as AMA, ACN, ACS, CSE, Chicago, IEEE, Harvard, and Turabian, as well as journal and university specific styles! Give it a try now: Start citing now!

mediation R package release history

VersionRelease date
4.4.72019-03-17
4.4.62017-07-12
4.4.52015-07-18
4.4.42015-03-03
4.4.32014-11-23
4.4.22014-08-27
4.4.12014-08-13
4.42013-12-09
4.3.12013-10-17
4.32013-10-14
4.2.42013-09-26
4.2.32013-08-26
4.2.22013-04-18
4.2.12013-03-04
4.22012-12-18
4.1.22012-08-24
4.12012-06-03
4.0.12012-04-20
4.02012-03-20
3.1.22011-09-20
3.1.12011-09-19
3.12011-08-21
3.02011-05-03
2.12009-09-18
2.02009-07-18
1.02009-06-14