Data and R code for predictive stability of a pooled length–width equation for leaf area estimation across four citrus types

Published: 3 August 2026| Version 1 | DOI: 10.17632/yrgybkdrpt.1
Contributors:
, Zine Eddine LABDAOUI,

Description

This dataset contains the measurements and reproducible R code supporting the study “Predictive stability of a pooled length–width equation for leaf area estimation across four citrus types”. The dataset comprises 200 mature, fully expanded leaves from four citrus plant materials: sweet orange ‘Thomson’ (Citrus sinensis), clementine (Citrus clementina), lemon ‘Quatre Saisons’ (Citrus limon), and sour orange (Citrus aurantium), with 50 leaves per citrus type. For each leaf, the dataset provides reference lamina area, maximum lamina length, maximum lamina width, the product of length and width, and the width-to-length ratio. Measurements were obtained from calibrated digital images analysed using ImageJ version 1.54g. The petiole was excluded from all measurements. The accompanying R script reproduces data preparation, descriptive analyses, comparison of linear and allometric models, model diagnostics, a 70/30 internal hold-out validation, repeated stratified 10-fold cross-validation, leave-one-citrus-type-out validation, and the tables and figures supporting the manuscript. The final pooled equation was S = 0.6829 × L × W, operationally rounded to S = 0.683 × L × W. The data were collected in December 2025 at an agricultural experimental facility of the University of Mostaganem, Mostaganem, northwestern Algeria. Tree identifiers were not retained; therefore, the individual leaf is the observational unit, and the validation procedures should be interpreted as internal leaf-level or cross-type validation rather than independent external validation.

Files

Steps to reproduce

1. Download “Calcul surface feuille agrumes 2.xlsx” and “citrus_leaf_area_analysis_FINAL_v1.0.0.R” and place both files in the same folder. 2. Open this folder as an RStudio Project or set it as the R working directory. 3. Use R version 4.4.3 or a compatible later version. 4. Install the required packages, if necessary, using: install.packages(c("readxl", "dplyr", "purrr", "ggplot2", "broom")). 5. Run the complete analysis using: source("citrus_leaf_area_analysis_FINAL_v1.0.0.R"). 6. The script imports the four worksheets, harmonizes the citrus-type names, calculates derived variables, compares candidate models, performs model diagnostics and predictive validations, and generates an “outputs” folder containing the tables, figures, diagnostics, model summaries, figure legends, and session information used to support the manuscript. 7. The analysis-ready file “citrus_lamina_area_data.csv” can also be used independently. Variable definitions and measurement units are provided in “data_dictionary.csv”.

Institutions

Categories

Horticulture, Statistics in Agriculture, Horticultural Crops, Agriculture

Licence