WG Factorial Interaction Results Text

Description

Returns formatted text for the interaction test in a within-groups factorial ANOVA, either filled (answer key with red highlighting) or blank (worksheet). Unlike BG factorial, WG uses a separate error term for the interaction.

Usage

format_factwg_interaction_results(
  anova_results_list,
  KEY = TRUE,
  highlight = TRUE
)

factwg_interaction_results(anova_results_list, KEY = TRUE, highlight = TRUE)

Arguments

anova_results_list Output from anova_factwg_answers().
KEY Logical. If TRUE, show filled answers. If FALSE, show blanks.
highlight Logical. If TRUE and KEY = TRUE, wrap answers in highlight markup for Quarto/RMarkdown.

Value

A character string with markdown/HTML formatting.