This function is the former internal workhorse of the apa_print
-family for ANOVA. It takes a data.frame
of class apa_variance_table
and produces strings to report the results in accordance with APA manuscript
guidelines. It is already deprecated and will soon be defunct. This function is not exported.
print_anova(
x,
intercept = FALSE,
observed = NULL,
es = "ges",
mse = getOption("papaja.mse"),
in_paren = FALSE
)
A named list containing the following components:
statistic
A named list of character strings giving the test statistic, parameters, and p value for each factor.
estimate
A named list of character strings giving the effect size estimates for each factor.
full_result
A named list of character strings comprised of estimate
and statistic
for each factor.
table
A data.frame containing the complete ANOVA table, which can be passed to apa_table
.
Data.frame. A data.frame
of class apa_variance_table
as returned by arrange_anova
.
Logical. Indicates if intercept test should be included in output.
Character. The names of the factors that are observed, (i.e., not manipulated). Necessary for calculation of generalized eta-squared; otherwise ignored.
Character. The effect-size measure to be calculated; can be either ges
for generalized eta-squared, pes
for partial eta-squared or es
for eta-squared.
Note that eta-squared is calculated correctly if and only if the design is balanced.
Logical. Indicates if mean squared errors should be included in output. Default is TRUE
.
Logical. Indicates if the formatted string will be reported inside parentheses. See details.
arrange_anova()
, apa_print.aov()