apa_violinplot()
for violin plots.
apa_factorial_plot()
gained arguments args_violins
and args_density
.generate_author_yml()
apa_print()
apa_print()
sanitize_terms()
.stats::binom.test()
(see #576).FALSE
, if effectsize is not installed, the default is TRUE
.apa_*plot()
functions have gained a new argument set_par
.sanitize_terms()
now also replaces multiple consecutive underscores with a single underscore and removes leading underscores. This affects term names in output from apa_print()
.cite_r()
lang
argument to specify the language of to-be-generated text.doi_citations
to use DOI-based citations via the doi2cite
filter, see rmdfiltr vignette.LaTeX Error: Lonely \item--perhaps a missing list environment
is now fixed (reported by @cjvanlissa, #587; fixed by @jvcasillas, #593)shorttitle
and leftheader
.apa_print()
$table
element (as suggested in #324 by @Kalif-Vaughn)$table
element are now standardized following the broom glossary) (e.g., term
, estimate
, conf.int
, statistic
, df
, df.residual
, p.value
).
output$table$F
and obtain output$table$statistic
, see #364)."\\hat{\\eta}^2_G"
, "$F$", "$p$
, ...) for creating tables via apa_table()
.ci
, conf_level
, and args_confint
used for some methods are now depreceated and has been replaced by conf.int
, which is now used consistently across methods.transmute_df_into_label()
.apa_print.aov()
and friends
estimate
to ANOVA-methods, which accepts a character string ("ges"
, "pes"
, and "es"
; primarily for backward compatibility), a data frame (with columns estimate
, conf.low
, and conf.high
), or a function to determine which measure of effect size is to be reported. If a function is supplied, it should take the ANOVA object as input and return a data frame with columns estimate
, conf.low
, and conf.high
. Currently, output from the effectsize package is supported. By default, if effectsize is installed, generalized eta-squared (point estimate and confidence interval) will be calculated. Otherwise, only the point estimate will be calculated as before.es
is now deprecated, but because it is a partial match with estimate
, old code using es = "ges"
, es = "pes"
or es = "es"
will still work and yield the same results.apa_print.list()
: Added progress bars for bootstrapped model comparisons.apa_print.emmGrid()
and friends
emmeans::joint_tests()
, #200, PR #476)?apa_print.emmGrid
; #200, PR #476)apa_print.BFBayesFactor()
and friends were previously experimental and have now been implemented properly. In the process the arguments scientific
, min
and max
, auto_invert
, ratio_subscript
, escape
, evidential_boost
, and hdi
have been deprecated and the apa_print.BFBayesFactorList()
has been removed for now. The new methods support all BayesFactor analyses and interval null hypotheses. They also grant users more flexibility to specify what information to report.apa_print.lm()
: The argument observed_predictors
is now deprecated and has been replaced by observed
to improve consistency of argument names across methods.apa_num()
and apa_p()
are now the preferred name for the function previously called printnum()
and printp()
.variable_label()
, variable_labels()
, and label_variables()
now reside in CRAN package tinylabels, which is automatically loaded when papaja is loaded.cite_r()
now properly escapes semicolons (reported by @marklhc, #442)apa_print.lme()
, apa_print.merMod()
, apa_print.mixed()
glue_apa_results()
and add_glue_to_apa_results()
, see the new vignette on extending apa_print()
(vignette("extending_apa_print", package = "papaja")
)apa_table.apa_results()
apa_interval()
, apa_confint()
, and apa_hdint()
apa_df()
transmute_df_into_label()
and df_into_label()
role
automatically adds contributor ship roles (e.g. CRedit) to the author note. #375apa6_pdf()
numbersections: true
apa6_docx()
docx_fixes.lua
now tolerates missing figure captions (reported by @jvcasillas, #365)revision_letter_pdf()
apa_print()
apa_print.list()
apa_print()
.printnum.integer()
character
printp()
variable_labels.data.frame()
wsci()
, within_subjects_conf_int()
c("papaja_wsci", "data.frame")
and returns an
attribute means
for post processing (see new function summary.papaja_wsci
).apa_print.manova()
apa_print
method for MANOVA models from the stats
package.summary.papaja_wsci()
wsci()
(suggested by @jstevens5, #362)apa_print.papaja_wsci()
quote_from_tex()
remove_comments()
R
>= 3.6pandoc
>= 2.0label_quotes.lua
filter to insert excerpts in revision letter; also see quote_from_tex()
pandoc
2.0 or later
NA
at the top of the appendix in doc
mode (reported by @paul-grassl, #295)jou
mode, tables now span both columns unless requested otherwise (reported by @saladspices, #52, also see #298 by @jstbcs)number_sections: true
(reported by @tcgriffith, #332)Command \@parboxrestore has changed.
(fix suggested by @CrumpLab, #336)apa_table()
knit_asis
; it's no longer necessary to set the chunk option results = "asis"
for tables to be rendered (#280)&
in cells are automatically escapedapa_print()
apa_results
apa_print-htest()
printnum.integer()
zero_string
instead of ""
when x
is 0
(suggested by @e-schott, #311)NA
is passed (reported by @JanaJarecki, #317)printnum.numeric()
label_variable()
/label_variables()
: Pipable methods to set variable labelssimple_codebook()
: Creates a simple code book from variable labelsapa_print.manova()
/apa_print.summary.manova()
: Support for standard manova outputrmarkdown::pdf_document()
template to enable all options available in the standard template (e.g., A4 paper as requested by @wuschLOR, #193; #106)appendix
fields in YAML front matter (#168)abstract
, author_note
, and note
fields (#232)lineno
fields in YAML front matter to linenumbers
citation_package
specification to be ignored (reported by @doomlab, #188)endfloat
package (reported by @TobiasKoeln, #133)longtable
as endfloat
environment (reported by @tormodb, #194)geometry
package (reported by @PenelopeLQ, #218)printnum.numeric()
use_math
to control whether to insert $
into the output so that Inf
or scientific notation is rendered correctly. Fixes bug that caused an error when printing confidence intervals for one-sided t-tests (#192)apa_print.htest()
apa_table()
font_size
option, which extends small
(#223)escape = TRUE
is now a visible (in documentation) default (reported by @baguadoramirez, #180)format
argument (reported by @mischavk, #223)apa_factorial_plot()
render_appendix()
pandoc
2.0 support (reported by @dhagmann, #204)apa6_docx()
/apa6_word()
apa6_pdf()
cite_r()
wsci()
apa6_docx()
Experimental:
apa_print.emmGrid()
apa_print.summary_emm()
revision_letter_pdf()
printnum()
-methodslabelled
class to papaja_labelled
to avoid problems due to conflicting implementations of labelled
in the haven and Hmisc packages (see tidyverse/haven#329; first reported by @andreifoldes, #199)id
pandoc
> 2.0 (#186)variable_labels()
and related functions from S4 to S3 class. The transition was necessary because the S4 class was incompatible with at least one primitive function (#176). This change may unfortunately break backward compatibility with the previous release.apa_table()
render_appendix()
pandoc-citeproc
printnum.integer()
(suggested by @LorcanKenny, #178)pandoc
2.0 (reported by @ericpgreen, #170)mask
removes author name, affiliations, and author note from the title page (suggested by @mcbeem, #114)replace_ampersands
controls whether ampersand_filter()
is applied during rendering (suggested by Julia Haaf, Jeff Rouder, and Anne Scheel)lang
removed because it is not compatible with current pandoc
versions (reimplementation needed)apa_barplot()
ylab
on every plot as do apa_lineplot()
and apa_beeplot()
(#124)theme_apa()
render_appendix()
inline_hook()
difftime
objectsr_refs()
apa_print.anova()
and related
^
.within_subjects_conf_int()
NA
s (reported by @TobiasKoeln, #137)apa_print()
apa_results_table
, column names are easy to address, and each column is labelled for pretty printing.apa_table()
format.args
parameter (reported by @lnalborczyk, #131)apa_print.htest()
oneway.test()
objects.apa6_word()
apa_factorial_plot()
apa_factorial_plot.afex()
apa_print.glm()
apa_print.summary.glm()
print.apa_results_table()
variable_label()
Experimental:
apa_print.BFBayesFactor()
apa_print.BFBayesFactorTop()
apa_print.BFBayesFactorList()
--vanilla
to avoid problems with customized .Rprofile
s (reported by @awellis, #96)ampersand_filter()
regex, which caused some citations to be missed depending on preceding citations (reported by @awellis, #96, and @m-Py, #100)pdf
and png
to improve compatibility and rendering speed; postscript
and tiff
are no longer used be defaultapa_print.aov()
apa_table()
\label{}
tag.na_string
and digits
optionstheme_apa()
ggplot::margin()
to set margins because ggplot::unit()
is now deprecated.r_refs()
cite_r()
survival-book
referenceapa_print.lsmobj()
apa_print.summary.ref.grid()
apa_print.glht()
apa_print.summary.glht()
papaja.na_string
with default value "NA"
used by apa_table()
and printnum()
&
with and
in in-text citations to fully adhere to APA citation guidelines; (see #53)include = FALSE
.apa_table.latex()
landscape = TRUE
tables are now always in longtable
environments to improve interplay with the LaTeX package endfloat
and correctly honoring the figsintext
option in the YAML header (reported by @m-Py, #90)results = "asis"
is required when apa_table()
is called (requested by RMHogervorst, #93)apa_print.lm()
render_appendix()
apa_*plot()
apa6_pdf
and apa6_word
now adapt pdf_document2()
and word_document2()
from the bookdown package. This enables the use of bookdown cross-referencing syntax including automatically generated table and figure labels as detailed here (see #2).numbersections: true
numbering now starts at the body of the text. The abstract is no longer a numbered heading (reported by @lnalborczyk, #85)footnotelist
to create list of footnotes at the end of the document (see #74)apa_table.latex()
figsintext: false
(reported by @m-Py, #64).%
. All unescaped %
are now automatically escaped even if escape = FALSE
(reported by @m-Py, #66).results = "markup"
(see #77)apa_barplot()
can calculate ylim
when measure of dispersion cannot be calculated (#76)apa_beeplot()
brightens data points instead of using transparencyapa_print()
statistic
, estimate
, full_result
, and table
(#67)table
may be NULL
)apa_print.lm()
has new option observed_predictors
to calculate proper R^2 confidence intervalsjou
mode (reported by @saladspices, #48)lang
is now english
; fixed a pandoc-citeproc bug (reported by @mvuorre and @sebastiansauer, #56 and #57; fixed by @mvuorre, #58)author
field department
, information can be supplied as part of the address
fieldauthor_note
; note
is used to add additional information to the title pagefigurelist
and tablelist
to create lists of figure or table captions at the end of the documentupgreek
packagefigsintext
to have no effect (reported by @mattsigal, #61)apa_print()
car::LeveneTest()
outputapa_print.lm()
tableapa_print.lm()
when F-values were smallapa_print.list()
causing an error with only two modelsapa_print()
-family for ANOVA objects
apa_print.Anova.mlm()
tableprint_anova()
rounds effect size estimates to three decimalsintercept
determines if intercept tests are included in the outputmse
to report mean squared error terms (thanks to @TomHardwicke for reporting early bugs, #49)apa_table()
row_names
optionstub_indents
adds title sections to indented rowsadded_colnames
to added_stub_head
apa_table.latex()
col_spanners
to add column spannerssmall
to decrease font size for large tablesapa_barplot()
ylim
args_arrows
to customize error barscite_r()
pkgs
and withhold
to black- or whitelist packages (#50)r_refs()
conf_int()
apa_print.afex_aov()
(#47)apa_print.list()
(#27)wsci()
apa_lineplot()
apa_beeplot()
(thanks to @TobiasKoeln for reporting early bugs, #72)theme_apa()
render_appendix()
fetch_zotero_refs()
in_paren()
fetch_web_refs()
evolved into a clone of downloder::download()
apa_prepare_doc()
is no longer neededpapaja.mse
and papaja.sphericity_correction
among otherswordcount
parameter to YAML headerapa_print()
table
output-element to apa_print.lm()
containing complete regression tableapa_print()
-family for ANOVA objectstable
output-element to apa_print()
-family for ANOVA objects containing complete ANOVA tablecar::leveneTest
objects)apa_print.htest()
and apa_print.lm()
can be formatted by passing options to printnum()
apa_table()
midrules
option for apa_table.latex()
and cleaned up LaTeX outputapa_table.latex()
r_refs()
apa_prepare_doc()
lang
was not set in YAML headerapa_barplot()
apa_table()
row_name
parameterapa_table.latex()
apa_print.anova.mlm()
apa_barplot()
cite_r()
fetch_web_refs()
Initial CRAN release
\donttest{}
instead of \dontrun{}
.add_equals()
is now an exported function.