apa's functions format output of statistical tests according to guidelines of the APA (American Psychological Association), ready to copy-and-paste into manuscripts.

The idea of such formatters was introduced in the schoRsch package. apa generalizes this idea by providing formatters for different output formats (text, Markdown, RMarkdown, HTML, LaTeX, docx and R's plotmath syntax).

Currently available formatters are:

Further miscellaneous functions:

1 pandoc is required for docx output and needs to be installed manually when not using RStudio (which ships pandoc).

2 Supports input from aov(), ezANOVA() from the ez package and aov_ez() / aov_car() / aov_4() from the afex package.


The development version can be installed using:

# install.packages("devtools")