APA Write-Up for K-Level Within-Groups ANOVA with Post-Hoc

Description

Generates an APA-style paragraph for a repeated measures ANOVA with more than 2 conditions, including post-hoc pairwise comparison results.

Usage

apa_wg_kgroup_anova_writeup(
  wg_kgroup_results_list,
  dv_name,
  iv_name,
  condition_labels = NULL,
  hypothesis = NULL,
  alpha = 0.05,
  posthoc_tests = c("LSD"),
  include_effect_size = FALSE,
  effect_size_type = "partial_eta_sq"
)

Arguments

wg_kgroup_results_list Output from wg_anova_kgroup_answers().
dv_name Character. Descriptive name for DV.
iv_name Character. Descriptive name for IV (the within-subjects factor).
condition_labels Character vector. Labels for conditions in order.
hypothesis List with hypothesis details (same structure as apa_kgroup_anova_writeup()).
alpha Significance level. Default 0.05.
posthoc_tests Character vector. Names of post-hoc tests used.
include_effect_size Logical. Include effect size. Default FALSE.
effect_size_type Character. Type of effect size. Default "partial_eta_sq".

Value

A character string with APA write-up.