Package: apaTables 4.0.0

apaTables: Create American Psychological Association (APA) Style Tables

A common task faced by researchers is the creation of APA style (i.e., American Psychological Association style) tables from statistical output. In R a large number of function calls are often needed to obtain all of the desired information for a single APA style table, and manually re-creating that table in a word processor is prone to transcription errors. This package builds complete APA style tables directly from analysis output. A single command saves a finished table as a 'Microsoft Word' (.docx) file, ready for a manuscript. Tables can also be placed in 'Quarto' documents (via the bundled 'apaquarto' extension), so a rendered 'Word' or PDF manuscript comes out with its tables already in place — numbered, titled, and with notes. The same tables can be shown on 'reveal.js' slides, and HTML output is also supported. Using this package minimizes transcription errors and reduces the number of commands needed by the user. The approach is described in Stanley and Spence (2018) <doi:10.1177/2515245918773743>.

Authors:David J. Stanley [aut, cre, cph], W. Joel Schneider [ctb], Brenton M. Wiernik [ctb, cph]

apaTables_4.0.0.tar.gz
apaTables_4.0.0.zip(r-4.7-any)apaTables_4.0.0.zip(r-4.6-any)apaTables_4.0.0.zip(r-4.5-any)
apaTables_4.0.0.tgz(r-4.6-any)apaTables_4.0.0.tgz(r-4.5-any)
apaTables_4.0.0.tar.gz(r-4.7-any)apaTables_4.0.0.tar.gz(r-4.6-any)
apaTables_4.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
apaTables/json (API)

# Install 'apaTables' in R:
install.packages('apaTables', repos = c('https://dstanley4.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dstanley4/apatables/issues

Pkgdown/docs site:https://dstanley4.github.io

Datasets:

On CRAN:

Conda:

9.26 score 70 stars 592 scripts 4.4k downloads 13 mentions 19 exports 105 dependencies

Last updated from:3e4714b44d. Checks:6 OK, 3 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK581
source / vignettesOK273
linux-releaseOK609
macos-releaseOK529
macos-oldrelOK428
windows-develERROR636
windows-releaseERROR594
windows-oldrelERROR579
wasm-releaseOK144

Exports:apa_captionapa_note_textapa.1way.tableapa.2way.tableapa.afex.tableapa.aov.tableapa.cor.tableapa.d.tableapa.quarto.docxapa.quarto.exampleapa.quarto.htmlapa.quarto.newapa.quarto.pdfapa.quarto.revealjsapa.quarto.setupapa.quarto.templateapa.reg.tableapa.saveget.ci.partial.eta.squared

Dependencies:abindaskpassbackportsbase64encbootbroombslibcachemcarcarDataclicolorspacecowplotcpp11data.tableDerivdigestdoBydplyrevaluatefarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverforecastFormulafracdifffsgdtoolsgenericsggplot2gluegtablehighrhtmltoolsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmemoisemgcvmimeminqamodelrnlmenloptrnnetnumDerivofficeropensslpbkrtestpillarpkgconfigpurrrquantregR6raggrappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrmarkdownS7sassscalesSparseMstringistringrsurvivalsyssystemfontstextshapingtibbletidyrtidyselecttimeDatetinytexurcautf8uuidvctrsviridisLitewithrxfunxml2yamlzipzoo

Migrating to apaTables 4.0
What changed at a glance | File output is now .docx / .html | Table numbers are real by default | PDF moved to Quarto | Removed functions | Dependency changes

Last update: 2026-08-10
Started: 2026-08-10

Using apaTables with apaquarto
What this vignette covers | The one-command way: apa.quarto.new() | What are Quarto and apaquarto? | Installing the apaquarto extension | Sharing a project | The document's YAML header | New to Quarto? Start with a working example | The easy way: apa.quarto.template() | The advanced way: write the chunk yourself | One caution: wide tables and PDF | Journal mode (documentmode: jou) is not supported | Helpers for the caption and note | Using apaTables tables in an ordinary Quarto document (no apaquarto) | Slides: apa.quarto.revealjs() | Word and HTML files without Quarto: apa.save()

Last update: 2026-08-10
Started: 2026-08-10

Readme and manuals

Help Manual

Help pageTopics
apaTables: Create American Psychological Association (APA) Style TablesapaTables-package apaTables
album data from textbookalbum
Caption text for a table (for the apaquarto 'tbl-cap' settings line)apa_caption
Note text for a table (for the apaquarto 'apa-note' settings line)apa_note_text
Create an APA-style table of means for a one-way designapa.1way.table
Create an APA-style table of means for a two-way designapa.2way.table
Create an APA-style ANOVA table from afex outputapa.afex.table
Create an APA-style fixed-effects ANOVA tableapa.aov.table
Create an APA-style correlation tableapa.cor.table
Create an APA-style table of pairwise d-valuesapa.d.table
Write two ready-to-render example documents showing every apaTables tableapa.quarto.example
Start a new APA manuscript that renders on the first tryapa.quarto.new
Display an apaTables table in a Quarto documentapa.quarto.docx apa.quarto.html apa.quarto.pdf apa.quarto.revealjs
Install or repair this project's apaquarto extensionapa.quarto.setup
Print a ready-to-paste apaquarto chunk for a tableapa.quarto.template
Create an APA-style regression tableapa.reg.table
Save apaTables tables to a Word (.docx) or HTML (.html) fileapa.save
dating data from textbookdating_wide
drink attitude data from textbookdrink_attitude_wide
Eysenck dataEysenck
Fidler & Thompson (2001) Fixed-Effects ANOVA datafidler_thompson
Calculates confidence interval for partial eta-squared in a fixed-effects ANOVAget.ci.partial.eta.squared
goggles data from textbookgoggles
viagra data from textbookviagra