Questions tagged [papaja]

The papaja tag should be used for questions concerning the usage of the papaja R package. The package provides an R Markdown template that can be used with (or without) RStudio to produce documents which conform to the American Psychological Association (APA) manuscript guidelines.

papaja is an R package in the making including a R Markdown template that can be used with (or without) RStudio to produce documents, which conform to the American Psychological Association (APA) manuscript guidelines (6th Edition). The package uses the LaTeX document class apa6 and a .docx-reference file, so you can create PDF documents, or Word documents if you have to. Moreover, papaja supplies R-functions that facilitate reporting results of your analyses in accordance with APA guidelines.

84 questions
1
vote
1 answer

How to merge two apa tables through papaja?

I need help. I managed to have r tables in APA style using papaja in r markdown. But I need to merge them into one big table(It is going to be sociodemographics). Sorry If I am not being clear but my situation is something like . It doesn't have to…
dplyr
  • 83
  • 5
1
vote
1 answer

Papaja abstract indentation

in a papaja-generated document, why is the first paragraph of the abstract not properly indented - see the offset between "Intro." and "Conclusion.", while both should be equally indented if I read the YAML correctly. --- title : "My…
raphael_ldl
  • 113
  • 8
1
vote
1 answer

How to change default name for table note in apa_table()?

I'm trying to write a .pdf report using papaja r package. It's not in English so I need to translate some fixed parts to Polish. I managed to translate figure and table name thanks to this question,…
Jakub Jędrusiak
  • 301
  • 1
  • 12
1
vote
0 answers

How to change decimal mark in papaja::apa_print?

I wanted to use papaja::apa_print() to make things easier in my report but I need to adjust the output for my language's APA style adaptation. It means displaying leading zeros and setting comma as the decimal mark. It's not a problem with most of…
Jakub Jędrusiak
  • 301
  • 1
  • 12
1
vote
1 answer

Styling an apa_table with kableExtra

According to the description, apa_table takes arguments from knitr::kable. But when I want to use a functionality from kableExtra (in my example, format entries in the second column as bold), I get an error…
raphael_ldl
  • 113
  • 8
1
vote
0 answers

Duplicated figure names in word output in papaja

After knitting a word document produced by the papaja package, figure names are duplicated see there. Does anyone know how to fix this, please? papaja version is as follows: 0.1.0.999 Reproducible code is as follows: --- title : "The…
Lukas
  • 11
  • 2
1
vote
1 answer

RMarkdown syntax within apa_table()

I am not sure if I am overseeing something, maybe there is an easy solution for this already (sorry if this is the case) but so far I haven't found one: When I am passing a manually created data.frame to apa_table() with row names / column names /…
Misch007
  • 13
  • 2
1
vote
2 answers

wrapping text from apa_table() in r markdown?

*Edited to simplify example I'm trying to use apa_table() to include a table of inclusion exclusion criteria for a review paper. I have already made the table in excel but I'm trying to move into using Rstudio and Rmarkdown for all my academic…
KevOMalley743
  • 551
  • 3
  • 20
1
vote
1 answer

Avoiding Appendix-Specific Reference Section while using papaja

I am writing a report with R Markdown and papaja in which I add an appendix by including: appendix: - "appendix.Rmd" in the YAML header. When I include citations in the appendix, an appendix-specific reference section is created following the…
Masch
  • 23
  • 4
1
vote
0 answers

Importing word file template while knitting into docx on papaja

Recently, I was trying to import a word template file into papaja when knitting my own word files so that I can customize styles according to my specifications. I stumbled across this post (Format text for word output while using rmd template) so I…
KWLI
  • 41
  • 4
1
vote
1 answer

Why does my rmarkdown/papaja not suppress following author names when i have already cited it multiple times (as it would be required APA style)?

I am so sorry for asking, but i have been unable to find a solution (and i've tried hard). When i add a @author syntax in my rmarkdown script (corresponding to my created bib.file) and knit the file the authors are cited correctly. But when i cite…
Hanna
  • 29
  • 2
1
vote
1 answer

Error: Install papaja package and updating R

Problem: I was trying to install the papaja package devtools::install_github("crsh/papaja") I received this error: Error: Failed to install 'reprex' from GitHub: System command 'Rcmd.exe' failed, exit status: -1, stdout + stderr empty To…
n.baes
  • 19
  • 3
1
vote
1 answer

"papaja": "Author Note" heading placed at bottom of title page

When rendering my .Rmd file as a pdf the heading for "Author Note" is the last line of the cover page, with the text then starting on p2. Where do I go to insert a \newpage command? Or is there a better way to force the "author note to start on p.…
Emilio M. Bruna
  • 297
  • 1
  • 3
  • 14
1
vote
1 answer

blank cells from apa_tables in papaja knitting to word document with extra spacing

I've been knitting to a Word Document from an .rmd file using papaja. I have found that when there is a blank cell in a row, that particular row's height is disproportionately taller than rows without. I've set up my .rmd using the provided template…
1
vote
1 answer

Saving R table 1 output as png

I created a table with R table1 and want to save it as a png image with a line of code and not with the Export button in the R GUI interface. I need this so that I can upload the table to Rmarkdown using the papaja package which does not load and…