问题描述
社会科学家使用 APA样式设置表格和文档的格式.有像stargazer
和xtable
这样的软件包(这里是详尽的列表)为使用latex
和knitr
的用户提供干净的表格格式. 但是,这些软件包在所有情况下均不符合APA样式规则.
Social scientists format tables and documents with APA style. There are packages like stargazer
and xtable
(here is an extensive list) that provide clean table formatting for those using latex
and knitr
. However, these packages do not conform to APA style rules in all cases.
从头开始构建和格式化表格非常耗时.幸运的是,有两个R软件包用于创建符合APA样式准则的表和文档:apaStyle
和apaTables
.不幸的是,两个软件包都只输出到MS Word.
Building and formatting tables from scratch is time consuming. Fortunately, there are two R packages for creating tables and documents compliant with APA style guidelines: apaStyle
and apaTables
. Unfortunately, both packages only output to MS Word.
- 是否有一种使用
APAStyle
和APATables
的方式,以便输出是否集成到.Rmd文件的HTML或PDF输出中? - 您使用什么 other 软件包在.Rmd文件中创建APA样式表,尤其是在使用
knitr
创建PDF文件时.
- Is there a way to use
APAStyle
andAPATables
so that output isintegrated into HTML or PDF output from a .Rmd file? - What other packages do you use to create APA style tables in your .Rmd file—especially when using
knitr
to create PDF files.
推荐答案
关于第二个问题,请从Frederik Aust的软件包papaja
中检出apa_table()
.我发现它对于以APA样式报告所有输出(不仅是表格)非常有用.
Concerning your second question, check out apa_table()
from Frederik Aust's package papaja
. I found it incredibly helpful for reporting all output in APA style (not only tables).
- 这些安装说明和用户指南帮助我入门.
- 但是,看看您实际上可以使用
papaja
做什么,我从公开受益匪浅无障碍示例纸.
- These installation instructions and user guide helped me to get started.
- However, to see how much you can actually do with
papaja
, I greatly benefitted from this openly accessible example paper.
这篇关于在nitr中使用apaTables或apaStyles软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!