This Computational Provenance Record documents the statistical computing environment, software dependencies, computational provenance, and bibliographic references associated with the RAISINS Pooled Strip Plot module. It is intended to support computational reproducibility and software transparency. Detailed statistical methodology, mathematical derivations, and user guidance are provided separately in the official module documentation.
Any issues or updates required please comment here
A single fit, lm(Y ~ L + L:Block + A + L:A + L:Block:A + B + L:B + L:Block:B + A:B + L:A:B), with sums of squares from car::Anova(type = "II"). Blocks are nested within Location. The ANOVA is run on the Aitken-transformed values for any character that failed Bartlett's test
Per character. Within each Location, aov(Y ~ Block + FactorA + Block:FactorA + FactorB + Block:FactorB + FactorA:FactorB) is fitted, so the residuals are the strip-plot interaction error; the residuals from all Locations are combined, labelled by Location, and tested with bartlett.test(). At least 2 Locations with ≥ 2 levels each of Block, FactorA and FactorB are required
Aitken transformation
Applied when Bartlett's p ≤ 0.05. Within each Location, the character is divided by sqrt(MSE), where MSE = sum(resid(m)^2) / df.residual(m) from the model above
User
Transformation
(optional, off by default)
Log
log10(x); if any value ≤ 0, log10(x - min(x) + 1)
Square root
sqrt(x); sqrt(x + 0.5) if any value is 0; not applied if any value is negative
Arcsine
asin(sqrt(x)) for proportions in [0, 1]; 0 and 1 are replaced by 1/(4n) and 1 - 1/(4n); not applied if any value is outside [0, 1]
Multiple
Comparison
Procedure
LSD (default), Tukey's HSD or DMRT, at α = 0.05 (default) or 0.01
Error term used
Pooled Error (a) for Row and Location × Row; Pooled Error (b) for Column and Location × Column; Pooled Error (c) for Location, Row × Column and Location × Row × Column
Critical difference
Column 6 of $statistics for LSD, column 5 for Tukey's HSD; for DMRT, the critical ranges from $duncan. CD and letters are shown only when the effect is significant at α
SE(m), SE(d), CV (%)
sqrt(MSerror / r), sqrt(2 * MSerror / r) and $statistics[1, 4] from the corresponding agricolae call
Summary
Statistics
Per cell
For each Location × Row × Column combination: N, Mean, SD, SE = SD / √N, Min, Max, CV, moments::skewness(), moments::kurtosis()
Principal
Component
Analysis
Input
Character means per Location × Row × Column combination, ordered by gtools::mixedorder(); prcomp(center = TRUE, scale = TRUE); requires at least two response variables
Index scores
PC signs are reversed after fitting ($x and $rotation multiplied by −1). Index 1 and 2 are the PC1 and PC2 scores, also rescaled to [0, 1]; the selection cutoff defaults to 0.75
Presentation
Decimal places, font
2 decimal places (1–4); table font Cambria. Display only
5 R Code for Key Analytical Steps
The chunks below reproduce the module’s computations on datasets::CO2. Keeping three of its seven CO2 concentrations gives a balanced 2 Locations × 3 Blocks × 2 Row × 3 Column = 36-observation layout with the structure the module expects. The numbers in the comments are the actual outputs.
library(gtools); library(factoextra); library(scales)d$AxBxL <-interaction(d$FactorA, d$FactorB, d$Location, sep ="x")means <-aggregate(cbind(Uptake, Efficiency) ~ AxBxL, data = d, FUN = mean)rownames(means) <- means$AxBxLmeans <- means[mixedorder(rownames(means)), -1] # 12 combinationsres.pca <-prcomp(means, center =TRUE, scale =TRUE)res.pca$x <--res.pca$x # sign convention used by the appres.pca$rotation <--res.pca$rotationget_eigenvalue(res.pca) # PC1 = 1.122 (56.08%), PC2 = 0.878 (43.92%)rescale(res.pca$x[, 1], to =c(0, 1)) # scaled Index 1
Explore the entire Pooled Strip Plot module in preview mode using our demo datasets. To submit suggestions or report a workflow issue, please use the discussion section below, or visit the official RAISINS website.
6 RAISINS Native Statistical Framework
RAISINS uses R for all its statistical computations. Every package used to generate major results is listed and demonstrated with examples, so results can be reproduced independently. These results are then organized and formatted on the RAISINS website along with visualisation to make them easier to use and interpret. RAISINS also has its own custom-built statistical tools for managing workflows, validating results, and generating reports. Details of these are not fully covered here, they’re shared with outside researchers only on request, and are subject to licensing terms.
7 Package References
R Core Team. (2025). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/
Fox, J., & Weisberg, S. (2024). car: Companion to Applied Regression (R package version 3.1-3). https://doi.org/10.32614/CRAN.package.car
de Mendiburu, F. (2023). agricolae: Statistical Procedures for Agricultural Research (R package version 1.3-7). https://doi.org/10.32614/CRAN.package.agricolae
Warnes, G. R., Bolker, B., & Lumley, T. (2023). gtools: Various R Programming Tools (R package version 3.9.5). https://doi.org/10.32614/CRAN.package.gtools
Wickham, H., François, R., Henry, L., Müller, K., & Vaughan, D. (2023). dplyr: A Grammar of Data Manipulation (R package version 1.1.4). https://doi.org/10.32614/CRAN.package.dplyr
Komsta, L., & Novomestky, F. (2022). moments: Moments, Cumulants, Skewness, Kurtosis and Related Tests (R package version 0.14.1). https://doi.org/10.32614/CRAN.package.moments
Kassambara, A., & Mundt, F. (2020). factoextra: Extract and Visualize the Results of Multivariate Data Analyses (R package version 1.0.7). https://doi.org/10.32614/CRAN.package.factoextra
Wickham, H., Pedersen, T. L., & Seidel, D. (2025). scales: Scale Functions for Visualization (R package version 1.4.0). https://doi.org/10.32614/CRAN.package.scales
De Rosario-Martinez, H. (2015). phia: Post-Hoc Interaction Analysis (R package version 0.3-2). https://doi.org/10.32614/CRAN.package.phia
Schloerke, B., Cook, D., Larmarange, J., Briatte, F., Marbach, M., Thoen, E., Elberg, A., & Crowley, J. (2025). GGally: Extension to ‘ggplot2’ (R package version 2.4.0). https://doi.org/10.32614/CRAN.package.GGally
Kay, M. (2025). ggdist: Visualizations of Distributions and Uncertainty (R package version 3.3.3). https://doi.org/10.32614/CRAN.package.ggdist
Gomez, K. A., & Gomez, A. A. (1984). Statistical Procedures for Agricultural Research (2nd ed.). John Wiley & Sons.