agricolaeplotr: An R package for visualising experimental designs in science and engineering
By Jens Harbers
Experimental designs are widely used in the life sciences to substantiate hypotheses through experiments. In the life sciences, this is an indispensable part of gaining scientific knowledge. In addition, open source software is increasingly used in science and engineering. One important programme is R, which is used as a statistical programme for evaluating experiments. The most important R package for designing experiments is the agricolae package, which creates many common experimental designs. However, apart from simple matrix sketches for selected designs, the package does not contain any visualisations of the experimental designs. This gap will be closed by the planned agricolaeplotr package.
The planned workflow: The user can enter an object as input, which contains an experimental design from the agricolae package and gets a field map output with a few parameters.
This shows the spatial dimensions of the experiment, as well as the location of the individual plots in the experiment. In addition, the plot numbers are output as labels, and the plots are coloured according to the levels of a factor (see attachment). This can be further processed, as pure ggplot2 functions are used. These maps can be used to communicate with project stakeholders in science and education.
Attachment: fieldmap_three_factors.pdf (15 KB)
Published: 4 Jul, 2021