apa_print().emm_Grid() and friends no longer capitalizeames of contrasts in the returnedapa_results list#603.cite_r()apa_violinplot() for violinplots.apa_factorial_plot() gained argumentsargs_violins andargs_density.generate_author_yml()apa_print()apa_print()sanitize_terms().stats::binom.test() (see#576).FALSE, ifeffectsize is not installed, the default isTRUE.apa_*plot() functions have gained a new argumentset_par.sanitize_terms() now also replaces multiple consecutiveunderscores with a single underscore and removes leading underscores.This affects term names in output fromapa_print().cite_r()lang argument to specify the language ofto-be-generated text.doi_citations to useDOI-based citations via thedoi2citefilter, seermdfiltrvignette.Initial CRAN release
\donttest{} instead of\dontrun{}.add_equals() is now an exported function.shorttitle andleftheader.apa_print()$table element (assuggested in #324 by$table element are now standardizedfollowing thebroomglossary) (e.g.,term,estimate,conf.int,statistic,df,df.residual,p.value).output$table$F and obtainoutput$table$statistic, see #364)."\\hat{\\eta}^2_G","$F$", "$p$, …) for creating tables viaapa_table().ci,conf_level, andargs_confint used for some methods are now depreceated andhas been replaced byconf.int, which is now usedconsistently across methods.transmute_df_into_label().apa_print.aov() and friendsestimate to ANOVA-methods, whichaccepts a character string ("ges","pes", and"es"; primarily for backward compatibility), a data frame(with columnsestimate,conf.low, andconf.high), or a function to determine which measure ofeffect size is to be reported. If a function is supplied, it should takethe ANOVA object as input and return a data frame with columnsestimate,conf.low, andconf.high. Currently, output from theeffectsizepackage is supported. By default, ifeffectsize isinstalled, generalized eta-squared (point estimate and confidenceinterval) will be calculated. Otherwise, only the point estimate will becalculated as before.es is now deprecated, but because it is apartial match withestimate, old code usinges = "ges",es = "pes" ores = "es" will still work and yield the same results.apa_print.list(): Added progress bars for bootstrappedmodel comparisons.apa_print.emmGrid() and friendsemmeans::joint_tests(), #200, PR #476)?apa_print.emmGrid; #200,PR #476)apa_print.BFBayesFactor() and friends were previouslyexperimental and have now been implemented properly. In the process theargumentsscientific,min andmax,auto_invert,ratio_subscript,escape,evidential_boost, andhdi have been deprecatedand theapa_print.BFBayesFactorList() has been removed fornow. The new methods support allBayesFactor analysesand interval null hypotheses. They also grant users more flexibility tospecify what information to report.apa_print.lm(): The argumentobserved_predictors is now deprecated and has been replacedbyobserved to improve consistency of argument names acrossmethods.apa_num() andapa_p() are now thepreferred name for the function previously calledprintnum() andprintp().variable_label(),variable_labels(), andlabel_variables() now reside in CRAN packagetinylabels,which is automatically loaded whenpapaja isloaded.cite_r() now properly escapes semicolons (reported by@marklhc, #442)apa_print.lme(),apa_print.merMod(),apa_print.mixed()
glue_apa_results() andadd_glue_to_apa_results(), see the new vignette onextendingapa_print()(vignette("extending_apa_print", package = "papaja"))
apa_table.apa_results()
apa_interval(),apa_confint(), andapa_hdint()
apa_df()
transmute_df_into_label() anddf_into_label() ### Misc
papaja now depends on
role automatically addscontributor ship roles (e.g. CRedit) to the author note.#375apa6_pdf()numbersections: trueapa6_docx()docx_fixes.lua now tolerates missing figure captions(reported byrevision_letter_pdf()apa_print()apa_print.list()apa_print().printnum.integer()characterprintp()variable_labels.data.frame()wsci(),within_subjects_conf_int()c("papaja_wsci", "data.frame") and returns an attributemeans for post processing (see new functionsummary.papaja_wsci).apa_print.manova()apa_print method for MANOVAmodels from thestats package.summary.papaja_wsci()wsci() (suggested byapa_print.papaja_wsci()quote_from_tex()remove_comments()R >= 3.6pandoc >= 2.0label_quotes.lua filter to insert excerpts inrevision letter; also seequote_from_tex()pandoc 2.0 or laterNA at the top of the appendix indoc mode (reported byjou mode, tables now span both columns unlessrequested otherwise (reported bynumber_sections: true (reported byCommand \@parboxrestore has changed. (fix suggested by@CrumpLab,#336)apa_table()knit_asis; it’s no longernecessary to set the chunk optionresults = "asis" fortables to be rendered (#280)& in cells are automaticallyescapedapa_print()apa_resultsapa_print-htest()printnum.integer()zero_string instead of""whenx is0 (suggested byNAis passed(reported byprintnum.numeric()add_equals argument (suggested bylabel_variable()/label_variables():Pipable methods to set variable labelssimple_codebook(): Creates a simple code book fromvariable labelsapa_print.manova()/apa_print.summary.manova():Support for standard manova outputrmarkdown::pdf_document() template to enable all optionsavailable in the standard template (e.g., A4 paper as requested byappendix fields in YAML front matter(#168)abstract,author_note, andnote fields (#232)lineno fields in YAML front matter tolinenumberscitation_package specification tobe ignored (reported byendfloat package (reported by@TobiasKoeln,#133)longtable asendfloat environment(reported bygeometry package (reported by@PenelopeLQ,#218)printnum.numeric()use_math to control whether to insert$ into the output so thatInf or scientificnotation is rendered correctly. Fixes bug that caused an error whenprinting confidence intervals for one-sided t-tests (#192)apa_print.htest()apa_table()font_size option, which extendssmall (#223)escape = TRUE is now a visible (in documentation)default (reported byformat argument(reported byapa_factorial_plot()jit parameter to be ignored(#177)use to improve and explicate handlingof NAs (#190)render_appendix()pandoc 2.0 support (reported byapa6_docx()/apa6_word()apa6_pdf()raw_attributes extension inpandoc > 2.0 (reported bycite_r()wsci()apa6_docx()Experimental:
apa_print.emmGrid()apa_print.summary_emm()revision_letter_pdf()printnum()-methodslabelled class topapaja_labelledto avoid problems due to conflicting implementations oflabelled in thehaven andHmisc packages (see tidyverse/haven#329; first reportedbyidpandoc > 2.0 (#186)variable_labels() andrelated functions from S4 to S3 class. The transition was necessarybecause the S4 class was incompatible with at least one primitivefunction (#176). This change may unfortunately break backwardcompatibility with the previous release.apa_table()render_appendix()pandoc-citeprocprintnum.integer() (suggested bypandoc 2.0 (reportedby@ericpgreen,#170)mask removes author name,affiliations, and author note from the title page (suggested byreplace_ampersands controlswhetherampersand_filter() is applied during rendering(suggested by Julia Haaf, Jeff Rouder, and Anne Scheel)lang removed because it is notcompatible with currentpandoc versions (reimplementationneeded)apa_barplot()ylab on every plot as doapa_lineplot() andapa_beeplot() (#124)theme_apa()render_appendix()inline_hook()difftime objectsr_refs()apa_print.anova() and related^.within_subjects_conf_int()NAs(reported byapa_print()apa_results_table, columnnames are easy to address, and each column is labelled for prettyprinting.apa_table()format.args parameter (reported byapa_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 avoidproblems with customized.Rprofiles (reported byampersand_filter() regex, which causedsome citations to be missed depending on preceding citations (reportedby@awellis, #96, and@m-Py, #100)pdf andpng to improve compatibility and rendering speed;postscript andtiff are no longer used bedefaultapa_print.aov()apa_table()\label{}tag.na_string anddigitsoptionstheme_apa()ggplot::margin() to set margins becauseggplot::unit() is now deprecated.r_refs()cite_r()survival-bookreferenceapa_print.lsmobj()apa_print.summary.ref.grid()apa_print.glht()apa_print.summary.glht()papaja.na_string with default value"NA" used byapa_table() andprintnum()& withand in in-text citationsto fully adhere to APA citation guidelines; (see #53)include = FALSE.apa_table.latex()landscape = TRUE tables are now always inlongtable environments to improve interplay with the LaTeXpackageendfloat and correctly honoring thefigsintext option in the YAML header (reported byresults = "asis" is required whenapa_table()is called (requested by RMHogervorst, #93)apa_print.lm()lm() on adata.frame columns byusing$ resulted in regression term names that brokeapa_table() (reported byrender_appendix()knitr::knit_child() to fix a bug causingfigures not to render in the appendix;render_appendix()now has to be called within an R Markdown document. (reported byapa_*plot()apa6_pdf andapa6_word now adaptpdf_document2() andword_document2() from thebookdown package. This enables the use ofbookdown cross-referencing syntax includingautomatically generated table and figure labels as detailedhere(see #2).numbersections: true numbering now starts at thebody of the text. The abstract is no longer a numbered heading (reportedby@lnalborczyk,#85)footnotelist to create list of footnotes atthe end of the document (see #74)apa_table.latex()figsintext: false (reported by%.All unescaped% are now automatically escaped even ifescape = FALSE (reported byresults = "markup" (see#77)apa_barplot() can calculateylim whenmeasure of dispersion cannot be calculated (#76)apa_beeplot() brightens data points instead of usingtransparencyapa_print()statistic,estimate,full_result, andtable(#67)table may beNULL)apa_print.lm() has new optionobserved_predictors to calculate proper R^2 confidenceintervalsjou mode (reportedby@saladspices,#48)lang is nowenglish; fixed apandoc-citeproc bug (reported byauthor fielddepartment,information can be supplied as part of theaddressfieldauthor_note;note is used toadd additional information to the title pagefigurelist andtablelist tocreate lists of figure or table captions at the end of the documentupgreek packagefigsintext to have no effect(reported byapa_print()car::LeveneTest() outputapa_print.lm()tableapa_print.lm() when F-values were smallapa_print.list() causing an error withonly two modelsapa_print()-family for ANOVA objectsapa_print.Anova.mlm() tableprint_anova() rounds effect size estimates to threedecimalsintercept determines if intercept tests areincluded in the outputmse to report mean squared error terms(thanks toapa_table()row_names optionstub_indents adds title sections to indentedrowsadded_colnames toadded_stub_headapa_table.latex()col_spanners to add column spannerssmall to decrease font size for largetablesapa_barplot()ylimargs_arrows to customize error barscite_r()pkgs andwithhold to black- orwhitelist packages (#50)r_refs()conf_int()apa_print.afex_aov() (#47)apa_print.list() (#27)wsci()apa_lineplot()apa_beeplot() (thanks totheme_apa()render_appendix()fetch_zotero_refs()in_paren()fetch_web_refs() evolved into a clone ofdownloder::download()apa_prepare_doc() is no longer neededpapaja.mse andpapaja.sphericity_correction among otherswordcount parameter to YAML headerapa_print()table output-element toapa_print.lm() containing complete regression tableapa_print()-family for ANOVAobjectstable output-element toapa_print()-family for ANOVA objects containing completeANOVA tablecar::leveneTest objects)apa_print.htest() andapa_print.lm() can be formatted by passing options toprintnum()apa_table()midrules option forapa_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()