APA Descriptive Statistics Table for Mixed Factorial ANOVA (Flextable)

Description

Creates an APA-formatted descriptive statistics table for a mixed (BG × WG) factorial design showing cell means, SDs, and ns organized by BG levels (rows) and WG levels (columns).

Usage

create_apa_factmg_desc_table(
  anova_results_list,
  bg_name = "BG IV",
  wg_name = "WG IV",
  dv_name = "DV",
  Key = TRUE,
  table_title = NULL
)

Arguments

anova_results_list Output from anova_factmg_answers().
bg_name Character. Display name for the between-groups IV.
wg_name Character. Display name for the within-groups IV.
dv_name Character. Display name for DV (used in caption).
Key Logical. If TRUE, fill with values; if FALSE, blank.
table_title Character or NULL. Optional table caption.

Value

A flextable::flextable() object.