Andrew Zieffler

Academic. Data lover. Statistics enthusiast.

APA Tables using RMarkdown: Part 5

This is the fifth part of a short blog series I am writing to re-create some of the sample tables found in the 7th edition APA Publication Manual. In this post I will attempt to show how to create a table to present the results of several fitted models. (This type of table is not among the example tables in the 7th edition APA Publication Manual.) To do so, I will incorporate many ideas that I covered in the first, second, third and fourth of these posts.

APA Tables using RMarkdown: Part 4

This is the fourth part of a short blog series I am writing to re-create some of the sample tables found in the 7th edition APA Publication Manual. In this post I will attempt to mimic Table 7.17 (p. 220). To do so, I will incorporate many ideas that I covered in the first, second, and third of these posts. Table 7.17 from the 7th edition of the APA Publication Manual (p.

APA Tables using RMarkdown: Part 3

This is the third part of a short blog series I am writing to re-create some of the sample tables found in the 7th edition APA Publication Manual. In this post I will attempt to mimic Table 7.10 (p. 215). To do so, I will incorporate many ideas that I covered in the first and second of these posts. Table 7.10 from the 7th edition of the APA Publication Manual (p.

APA Tables using RMarkdown: Part 2

This is the second part of a short blog series I am writing to re-create some of the sample tables found in the 7th edition APA Publication Manual. In this post I will attempt to re-create Table 7.8 (p. 214). To do so, I will incorporate many ideas that I covered in the first of these posts. Table 7.8 from the 7th edition of the APA Publication Manual (p.

APA Tables Using RMarkdown

Often it is useful to format table output to make it look good or to adhere a particular style (e.g., APA). There are several packages that help in this endeavor when working in an Rmarkdown document. When I create tables using RMarkdown, the primary packages I use are: The kable() function from the knitr package; and Functions from the kableExtra package. There are many packages for formatting tables, among others, include the flextable package, the gt package, the huxtable package, and the expss package.