This function is the workhorse of the apa_print() method
for model comparisons. It takes a data frame of class apa_model_comp
and
produces strings to report the results in accordance with APA manuscript
guidelines.
This function is not exported.
print_model_comp(
x,
models = NULL,
conf.int = NULL,
boot_samples = 1000,
progress_bar = FALSE,
in_paren = FALSE,
observed = TRUE
)
A data frame of class apa_variance_table
as returned by arrange_anova()
.
List. List containing fitted lm
objects that were compared using anova()
. If the list is named, element names are used as model names in the output object.
Numeric. Confidence level for the confidence interval for \(\Delta R^2\) if x
is a model comparison object of class anova
. If conf.int = NULL
no confidence intervals are estimated.
Numeric. Number of bootstrap samples to estimate confidence intervals for \(\Delta R^2\) if x
is a model comparison object of class anova
; ignored if conf.int = NULL
.
Logical. Determines whether a progress bar is printed while bootstrapping.
Logical. Whether the formatted string is to be reported in
parentheses. If TRUE
, parentheses in the formatted string (e.g., those
enclosing degrees of freedom) are replaced with brackets.
Logical. Indicates whether predictor variables were observed. See details.
arrange_anova()
, apa_print.aov()