library("psych350lab")
writeup <- apa_wg_simple_contrasts_writeup(
results,
dv_name = "judges' ratings of importance",
iv_name = "criterion type",
condition_labels = c("relevance", "assist_trier", "qualifications"),
reference_condition = "assist_trier",
hypothesis = list(
direction = "reference_higher",
rh_text = paste0("assisting the trier of fact will be ",
"more important than relevance and qualifications")
)
)APA Write-Up for Within-Groups Simple Contrasts
Description
Generates an APA-style paragraph for repeated measures ANOVA with simple (planned) contrasts comparing conditions to a reference.
Usage
apa_wg_simple_contrasts_writeup(
wg_contrast_results_list,
dv_name,
iv_name,
condition_labels,
reference_condition,
hypothesis = NULL,
alpha = 0.05
)
Arguments
wg_contrast_results_list
|
Output from within-groups ANOVA with contrasts containing:
|
dv_name
|
Character. Descriptive name for DV. |
iv_name
|
Character. Descriptive name for IV (conditions). |
condition_labels
|
Character vector. Labels for conditions. |
reference_condition
|
Character. Label of reference condition. |
hypothesis
|
List with hypothesis details:
|
alpha
|
Significance level. Default 0.05. |
Value
A character string with APA write-up.