statAPA: APA 7th Edition Statistical Tables, Plots, and Multilevel Model Reports

Produces publication-ready statistical tables and figures formatted according to the 7th edition of the American Psychological Association (APA) style guidelines. Supports descriptive statistics, t-tests, z-tests, chi-square tests, Analysis of Variance (ANOVA), Analysis of Covariance (ANCOVA), two-way ANOVA with simple effects, Multivariate Analysis of Variance (MANOVA), robust and cluster-robust regression using Heteroscedasticity-Consistent (HC) standard errors, post-hoc pairwise comparisons, homoskedasticity and heteroscedasticity diagnostics including the Non-Constant Variance (NCV) test, proportion tests, and multilevel mixed-effects models with intraclass correlation coefficients (ICC) and model-comparison tables. Output can be directed to the console, Microsoft Word (via 'officer' and 'flextable'), or LaTeX. For APA style guidelines see American Psychological Association (2020, ISBN:978-1-4338-3216-1).

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: stats, utils, ggplot2 (≥ 3.4.0), rlang, emmeans (≥ 1.8.0), lme4 (≥ 1.1-30), lmtest (≥ 0.9-40), sandwich (≥ 3.0-0), car (≥ 3.1-0), officer (≥ 0.6.0), flextable (≥ 0.9.0)
Suggests: lmerTest (≥ 3.1-3), MuMIn (≥ 1.47.0), ggeffects (≥ 1.3.0), knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-04-16
DOI: 10.32614/CRAN.package.statAPA (may not be active yet)
Author: Subir Hait ORCID iD [aut, cre]
Maintainer: Subir Hait <haitsubi at msu.edu>
BugReports: https://github.com/causalfragility-lab/statAPA/issues
License: MIT + file LICENSE
URL: https://github.com/causalfragility-lab/statAPA
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: statAPA results

Documentation:

Reference manual: statAPA.html , statAPA.pdf
Vignettes: Introduction to statAPA (source, R code)

Downloads:

Package source: statAPA_0.1.0.tar.gz
Windows binaries: r-devel: statAPA_0.1.0.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): statAPA_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=statAPA to link to this page.