New apa_anova() makes APA-style ANOVA source tables for aov and lm models (Type 1 sums of squares, or Types 2 and 3 via car::Anova()), repeated-measures aov models with Error() strata, afex models, and tables from stats::anova() and car::Anova(). Effect sizes (partial, non-partial, or generalized η^2^, ω^2^, or ε^2^) and their two-sided confidence intervals come from effectsize.
New apa_note() writes the text of a table note. For apa_parameters() tables of regression models (including lists of models and lme4 models), it says which robust standard errors were used, how mixed-model degrees of freedom were approximated, and that ordinal thresholds are not tested, and it defines the standardized coefficient, exponentiated coefficient (e.g., OR), confidence interval, and R^2^ change columns. For apa_loadings() and apa_factor_cor() tables, it gives the extraction method and rotation, says that oblique loadings are pattern coefficients, and explains omitted and bolded loadings and the h^2^, u^2^, and Complexity columns. For apa_anova() tables, it gives the type of sums of squares, which effects have sphericity-corrected degrees of freedom (afex models), what the effect size and MSE stand for, and what stars or bold values mean. With apaquarto, use it as #| apa-note: !expr apa7::apa_note(tbl). Without apaquarto, apa_flextable(note = TRUE) places the note below the table.
apa_parameters() now returns the ANOVA table for aov, repeated-measures aov, and afex models. Before, aov models were treated as lm models and gave a coefficients table.
apa_loadings() has been reworked:
apa7_tbl, so it renders as a flextable in Quarto and R Markdown. It supports psych::principal() as well as psych::fa(), and output from parameters::factor_analysis() and parameters::principal_components() (including unrotated components from stats::prcomp()).bold_max argument bolds the largest loading in each row.factor_names argument relabels the factors.variance argument adds rows for the sum of squared loadings and the proportion and cumulative proportion of variance explained, with a rule above them.communality, digits, and format_variable_names arguments. apa_flextable() no longer reformats item text in the Variable column.NA.column_formats argument has been removed.New apa_factor_cor() makes a table of factor correlations from obliquely rotated psych::fa(), psych::principal(), and parameters::factor_analysis() solutions.
column_format() gains an abbreviation slot that says what a header stands for (e.g., "standardized coefficient" for β). apa_note() defines every abbreviated header in a table from these slots, for any table type, so setting the slot in column_formats adds or changes a definition. The default column formats define common abbreviations (e.g., CI, AIC, BIC, RMSEA, effect sizes, and R^2^ variants), and column_formats() gains a get_abbreviations getter. New column formats h2, u2, and Complexity set the headers of those apa_loadings() columns.
apa_flextable() gains a note argument: TRUE adds the note from apa_note() below the table, and a character string adds a custom note. The note does not affect column widths.
apa_flextable() leaves alone any columns named in a "no_format_columns" attribute of the data, and draws a rule above the row named in a "rule_above" attribute.
Partial η^2^ columns (Eta2_partial) are now headed η^2^~p~. New column formats: Sum_Squares, Mean_Square, Eta2_generalized, Omega2, Omega2_partial, Epsilon2, and Epsilon2_partial.
make_apaquarto() and install_apaquarto() now list missing packages separately and ask a short "Install them now?" question, so the prompt is readable in the console (e.g., R on macOS). New ask argument installs missing packages without asking when FALSE. If installation is declined, the function stops and prints the install.packages() command to run.
make_apaquarto shiny app locally.align_chr so that setting format_numeric_character = FALSE works.list_column gains a unite parameter that joins list and text columns.add_star_column no longer add stars if the column value is missing.