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.