I present an R package called edibble that facilitates the design of experiments by encapsulating elements of the experiment in a series of composable functions. This package is an interpretation of "the grammar of experimental designs" by Tanaka (2023) in the R programming language. The main features of the edibble package are demonstrated, illustrating how it can be used to create a wide array of experimental designs. The implemented system aims to encourage cognitive thinking for holistic planning and data management of experiments in a streamlined workflow. This workflow can increase the inherent value of experimental data by reducing potential errors or noise with careful preplanning, as well as, ensuring fit-for-purpose analysis of experimental data.
翻译:本文介绍了一个名为edibble的R包,该包通过一系列可组合函数封装实验设计元素,从而简化实验设计流程。该包是基于Tanaka(2023)提出的"实验设计语法"在R语言中的实现。通过演示edibble包的主要功能,本文展示了如何利用该包创建多种类型的实验设计。该实现系统旨在通过精简的工作流程,促进对实验进行整体规划与数据管理的认知性思考。该工作流程通过细致的预先规划减少潜在错误或噪声,并确保实验数据适用于后续分析,从而提升实验数据的固有价值。