Recently, growing attention has been drawn to the large number of
scientific findings that are not reproducible. One aspect of this
worrisome state of affairs, which is not limited to the field of
psychology, is non-reproducibility of statistical analyses and
scientific computations. Given that raw data are available, the
reproducibility of analyses should be considered a minimum standard for
judging scientific claims (Peng, 2011). Two obvious reasons for
non-reproducibility of analyses are incorrect and incomplete reporting
of methods and statistics. A review of psychological journal articles
found that 18% of the statistical results were reported incorrectly;
these errors lead to incorrect inferences in 15% of surveyed articles
(Bakker & Wicherts, 2011). Dynamic documents that merge reports and
analysis scripts are an effective way to avoid erroneous statistical
reporting (Gandrud, 2013). We introduce ‘papaja’, a package for the R
Statistical Environment (R Core Team, 2014) that provides a framework to
create dynamic documents that adhere to American Psychological
Association (APA) guidelines (https://github.com/crsh/papaja). The
papaja package is tailored to the needs of experimental psychologists:
we supply convenience functions to report statistics in accordance with
APA guidelines in a way that ensures reproducibility of analyses and
facilitates future synthesis of results.