anova_out: Format ANOVA Output

View source: R/anova_out.R

anova_outR Documentation

Format ANOVA Output

Description

Distilles the most relevant data from an output object of ezANOVA and displays the results in a compact format.

Usage

anova_out(ezout, print = TRUE, sph.cor = "GG", mau.p = 0.05,
          etasq = "partial", dfsep = ", ", corr.df = FALSE, show.eps = 0)

Arguments

ezout

Output object created by a call to ezANOVA. This call has to have included a detailed output (detailed=TRUE).

print

Force results to be displayed, even if the function output is assigned to a variable (e.g., output <- anova_out(...); logical; default=TRUE).

sph.cor

Correction method (one of "no","GG","HF"; default="GG").

mau.p

Threshold for Mauchly's test of sphericity (numerical; default=0.05).

etasq

Effect size estimate to be used; either partial eta-squared ("partial"; default) or generalized eta-squared ("generalized").

dfsep

String that delimits the degrees of freedom of each F-value (default=", ").

corr.df

Display corrected degrees of freedom when Mauchly's test of sphericity is significant (default=FALSE).

show.eps

Show epsilon estimates when Mauchly's test of sphericity is significant? 0 = do not show, 1 = print after denominator dfs, 2 = print after F-value, 3 = print after effect size (default=0).

Details

The output of a call to ezANOVA is formatted according to the guidelines of the APA (American Psychological Association) as well as the DGPs ("Deutsche Gesellschaft fuer Psychologie"; German Psychological Society).

For repeated-measures ANOVAs, sphericity corrections are automatically applied to the p-values of effects that produced a significant result in Mauchly's test of sphericity. The corresponding input arguments (sph.cor and mau.p) do not affect between-subject designs.

Value

anoout(ezout,...) returns a list containing (1) the ANOVA table, (2) sphericity tests and corrections (if applicable), (3) formatted ANOVA results, (4) notes about which correction was applied to which effect.

Author(s)

Roland Pfister, Markus Janczyk

See Also

ezANOVA; aov; chi_out; cor_out; t_out;


schoRsch documentation built on Nov. 2, 2022, 1:06 a.m.

Related to anova_out in schoRsch...