I analyzed my data using R package ‘stats’ (version 2.15.3). A reviewer asked me the right citation of this package and not only the common
R Core Team (2012). R
There is now a grateful
package that can be handy:
The goal of grateful is to make it very easy to cite the R packages used in any report or publication. By calling a single function, it will scan the project for R packages used and generate a document with citations in the desired output format (Word, PDF, HTML, Markdown). Importantly, these references can be formatted for a specific journal so that we can just paste them directly into the bibliography list of our manuscript or report.
https://github.com/Pakillo/grateful
If the package stats
is loaded, the reference can be obtained by running:
library(grateful)
cite_packages()
—assuming grateful
has already been installed by running:
library(devtools)
install_github("Pakillo/grateful")