arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1905.08327stat.CO
收藏

以简洁的方式分析R代码的工具

Tools for analyzing R code the tidy way

Lucy D'Agostino McGowan, Sean Kross, Jeffrey T. Leek

摘要:

随着目前对可重复性和可复制性的强调,越来越需要审查如何进行数据分析。为了分析数据分析选择中研究人员之间的差异以及数据分析管道中导致结果差异的方面,我们创建了两个R包:matahari和tidycode。这些包构建在为自然语言处理而创建的方法之上;而不是允许处理自然语言,我们专注于R代码作为感兴趣的基础。matahari包方便了在R控制台或R脚本中输入的所有内容的记录。tidycode包包含允许以整洁的方式分析R调用的工具。我们将演示这些包的实用性,并通过两个示例进行演示。

英文摘要:

With the current emphasis on reproducibility and replicability, there is an increasing need to examine how data analyses are conducted. In order to analyze the between researcher variability in data analysis choices as well as the aspects within the data analysis pipeline that contribute to the variability in results, we have created two R packages: matahari and tidycode. These packages build on methods created for natural language processing; rather than allowing for the processing of natural language, we focus on R code as the substrate of interest. The matahari package facilitates the logging of everything that is typed in the R console or in an R script in a tidy data frame. The tidycode package contains tools to allow for analyzing R calls in a tidy manner. We demonstrate the utility of these packages as well as walk through two examples.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑