library("psych350lab")
hypotheses <- list(
list(group1 = "High", group2 = "Low", direction = ">",
text = "High group will score higher than Low group")
)
create_rh_support_text(result, hypotheses, KEY = TRUE)Research Hypothesis Support Text (ANOVA)
Description
Creates formatted text evaluating whether research hypotheses are supported based on pairwise comparison results.
Usage
create_rh_support_text(
anova_results_list,
hypotheses_list,
group_labels = NULL,
KEY = TRUE,
highlight = FALSE
)
Arguments
anova_results_list
|
Output from anova_kgroup_answers().
|
hypotheses_list
|
A list of hypothesis specifications. Each element should have group1, group2, direction (">", "<", or "="), and text.
|
group_labels
|
Character vector or NULL. Display labels for groups. |
KEY
|
Logical. If TRUE (default), show answers; if FALSE, show blanks. |
highlight
|
Logical. If TRUE and KEY is TRUE, wrap answers in highlight formatting. |
Value
A character string with formatted RH evaluation.