MG Factorial Main Effect Results Text

Description

Returns formatted text for a main effect test in a mixed factorial ANOVA with descriptive/misleading evaluation. Routes to the correct error term based on whether the IV is between-groups or within-groups.

Usage

format_factmg_main_effect_results(
  anova_results_list,
  iv_name = "IV",
  which_iv = "BG",
  KEY = TRUE,
  highlight = TRUE
)

factmg_main_effect_results(
  anova_results_list,
  iv_name = "IV",
  which_iv = "BG",
  KEY = TRUE,
  highlight = TRUE
)

Arguments

anova_results_list Output from anova_factmg_answers().
iv_name Character. Display name for the IV being tested.
which_iv Character. “BG” for the between-groups IV or “WG” for the within-groups IV.
KEY Logical. If TRUE, show filled answers. If FALSE, show blanks.
highlight Logical. If TRUE and KEY = TRUE, wrap answers in highlight markup.

Value

A character string with markdown/HTML formatting.