statAPA 0.1.0
Initial CRAN release
New functions
apa_anova() — Analysis of Variance (ANOVA) / Analysis
of Covariance (ANCOVA) table (Type II/III) with eta-squared, partial
eta-squared, or omega-squared effect sizes.
apa_ancova() — Dedicated Analysis of Covariance
(ANCOVA) wrapper with covariate validation and covariate-adjusted
marginal means.
apa_twoway_anova() — Two-way factorial Analysis of
Variance (ANOVA) with main effects, interaction, and optional simple
effects.
apa_manova() — Multivariate Analysis of Variance
(MANOVA) reporting all four multivariate test statistics (Pillai, Wilks,
Hotelling-Lawley, Roy).
apa_multilevel() — Multilevel (mixed-effects) model
reporting with fixed effects, random effects, intraclass correlation
coefficient (ICC), marginal/conditional R-squared, and likelihood ratio
model comparison.
apa_t_test() — One-sample, two-sample (Welch and
pooled), and paired t-tests with Hedges’ g.
apa_z_test_mean() — z-test for means with known
population standard deviation(s).
apa_chisq() — Chi-square test (goodness-of-fit or
independence) with Cramer’s V / phi.
apa_prop_test() — Proportion test (one- or two-sample)
with risk difference (RD), risk ratio (RR), and odds ratio (OR).
apa_descriptives() — Descriptive statistics table,
optionally stratified by a grouping variable.
apa_posthoc() — Post-hoc pairwise comparisons via
estimated marginal means (emmeans).
apa_robust() — Regression table with
Heteroscedasticity-Consistent (HC) or cluster-robust standard
errors.
apa_hetero() — Heteroscedasticity diagnostics
(Breusch-Pagan; Non-Constant Variance (NCV) test).
apa_homoskedasticity() — Homoskedasticity check
(Breusch-Pagan, White, Levene/Brown-Forsythe).
apa_table() — General regression / multilevel model
coefficient table (lm, glm, lmer, glmer).
apa_plot_descriptives() — Mean ± 95% CI plot by
group.
apa_plot_regression() — Fitted-line plot with
confidence ribbon.
apa_plot_anova() — Estimated marginal means plot for
ANOVA/ANCOVA.
apa_plot_residuals() — Residuals vs Fitted and Normal
Q-Q diagnostic plots.
apa_resid_plots() — Convenience wrapper printing both
residual diagnostic plots.
apa_to_flextable() — Convert any statAPA result to an
APA-styled flextable for Word/PowerPoint.
save_apa() — Save a ggplot figure with APA-friendly
defaults (300 dpi, 6.5 × 4.5 in).
set_apa_style() — Set global output style options.
theme_apa() — APA-style ggplot2 theme.