Interactive Between-Groups ANOVA Homework Checker (2-Group)

Description

Creates a tinytable::tt() table for checking a 2-group BG ANOVA. Includes ANOVA type identification, F-test statistics, and group descriptives.

Usage

create_bg_anova_checker(rh_name, vars, anova_results_list, group_labels = NULL)

Arguments

rh_name Character. Research hypothesis label.
vars Character vector. Variable names (for reference).
anova_results_list Output from bg_anova_answers().
group_labels Character vector of length 2 or NULL. Display labels for the two groups. If NULL, uses factor levels from the data.

Value

A tinytable object with embedded webexercise elements.

Examples

library("psych350lab")

data(superman, package = "psych350data")
result <- bg_anova_answers(superman, iv = "clark_grp",
  dv = "rt_critics_score")
create_bg_anova_checker("RH1",
  c("clark_grp", "rt_critics_score"), result,
  group_labels = c("Under 6ft", "6ft+"))