Package: AgriDesign 1.0.1

Luis Ángel Barrera-Guzmán

AgriDesign: Design and Analysis of Agricultural Experiments

Plans and analyses agricultural experiments with classical designs: completely randomised, randomised complete blocks (also generalised), Latin, Graeco-Latin and Youden squares, balanced, cyclic, alpha (Patterson and Williams (1976) <doi:10.1093/biomet/63.1.83>) and lattice incomplete blocks, augmented designs, factorials, split-plots, strip-plots, split-split-plots and nested designs, with or without covariates. Each analysis of variance tests every term against its own error stratum, with Satterthwaite (1946) <doi:10.2307/3002019> degrees of freedom for pooled errors; least-squares means are separated with eleven multiple-comparison procedures, among them Dunnett (1955) <doi:10.1080/01621459.1955.10501294>, and compact letters, with simple effects, trends and contrasts. It checks the assumptions, offers transformations and rank-based alternatives, recovers inter-block information by restricted maximum likelihood (Patterson and Thompson (1971) <doi:10.1093/biomet/58.3.545>), randomises field layouts with field books and power calculations, draws publication figures and writes HTML reports. It also includes plant breeding analyses (additive main effects and multiplicative interaction, Gollob (1968) <doi:10.1007/BF02289676>; stability, Eberhart and Russell (1966) <doi:10.2135/cropsci1966.0011183X000600010011x>; line by tester; diallel, Griffing (1956) <doi:10.1071/BI9560463>; North Carolina designs) and plant pathology tools (area under the disease progress curve and stairs, Simko and Piepho (2012) <doi:10.1094/PHYTO-07-11-0216>; soil heterogeneity). Only base R is used.

Authors:Luis Ángel Barrera-Guzmán [aut, cre, cph]

AgriDesign_1.0.1.tar.gz
AgriDesign_1.0.1.zip(r-4.7-any)AgriDesign_1.0.1.zip(r-4.6-any)AgriDesign_1.0.1.zip(r-4.5-any)
AgriDesign_1.0.1.tgz(r-4.6-any)AgriDesign_1.0.1.tgz(r-4.5-any)
AgriDesign_1.0.1.tar.gz(r-4.7-any)AgriDesign_1.0.1.tar.gz(r-4.6-any)
AgriDesign_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
AgriDesign/json (API)

# Install 'AgriDesign' in R:
install.packages('AgriDesign', repos = c('https://luisangelbg.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/luisangelbg/agridesign-r/issues

Pkgdown/docs site:https://luisangelbg.github.io

Datasets:

On CRAN:

Conda:

agricultureanovaexperimental-designplant-breeding

4.88 score 38 exports 0 dependencies

Last updated from:d2411b47e8. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK153
source / vignettesOK187
linux-releaseOK124
macos-releaseOK180
macos-oldrelOK195
windows-develOK106
windows-releaseOK137
windows-oldrelOK98
wasm-releaseOK82

Exports:agri_colorsammiaudpcaudpc_by_unitaudpsbox_coxcheck_assumptionscompare_meansdesign_anovadesign_efficiencydesign_reportdesignsdialleldurbin_testfield_bookhatheway_sizeline_testerls_meansmake_designmedian_testnc_designnonparametricplot_cell_meansplot_differencesplot_fieldplot_interactionplot_ss_partitionpower_designrecover_interblocksave_figuresmith_indexstabilitytest_contraststransformationstrendwaerden_testwaller_criticalwaller_duncan

Dependencies:

Analysing classical designs
Factorials | Split-plots and strip-plots | Latin and Graeco-Latin squares | Incomplete blocks | Covariates

Last update: 2026-11-08
Started: 2026-10-22

Getting started with AgriDesign
1. The analysis of variance | 2. Assumptions | 3. Comparing the treatments | 4. Figures | 5. The report | Where next

Last update: 2026-11-08
Started: 2026-10-22

Planning an experiment
How many replicates? | Randomising the layout | Incomplete blocks | The field book

Last update: 2026-11-08
Started: 2026-10-22

Plant breeding analyses
Genotype x environment interaction: AMMI | Stability | Line x tester | Diallel crosses | North Carolina designs

Last update: 2026-11-08
Started: 2026-10-22

Rank-based tests and plant pathology
When the assumptions fail | The Waller-Duncan test | Disease progress | Soil heterogeneity and plot size

Last update: 2026-11-08
Started: 2026-10-22

Readme and manuals

Help Manual

Help pageTopics
Standard methods for fitted designsad_methods anova.ad_anova as.data.frame.ad_comparison fitted.ad_anova nobs.ad_anova residuals.ad_anova
Colours of the AgriDesign figuresagri_colors
AMMI analysis of a multi-environment trialammi
Area under the disease progress curve and stairsaudpc audps
AUDPC and AUDPS of every plot of a trialaudpc_by_unit
Yield of five bean varieties (CRD)bean_varieties
Sorghum hybrids in a balanced incomplete block design (simulated)bib_sorghum
Late blight progress under four fungicide programmes (simulated)blight_progress
Box-Cox profile likelihood of a designbox_cox
Check the assumptions of the analysis of variancecheck_assumptions
Compare treatment meanscompare_means
Analysis of variance of an experimental designdesign_anova
Efficiency factor of a block designdesign_efficiency
Write an HTML report of an analysisdesign_report
List the designs that can be analysed or randomiseddesigns
Diallel analysis by Griffing's methodsdiallel
Disease severity scores under four fungicides (RCBD)disease_scores
Durbin test for balanced incomplete blocksdurbin_test
Field book of a randomised layoutfield_book
Plot size needed to detect a difference (Hatheway)hatheway_size
Line x tester analysisline_tester
Least-squares means of a designls_means
Full diallel among six maize linesmaize_diallel
Line x tester trial in maizemaize_lxt
Maize hybrids in six environments (multi-environment trial)maize_met
Maize yield under four nitrogen rates (RCBD)maize_nitrogen
Maize nitrogen trial in wide formatmaize_wide
Randomise a field experimentmake_design
Mood's median testmedian_test
North Carolina designs I, II and IIInc_design
North Carolina mating designsnc_designs
Rank-based and unequal-variance alternatives to the ANOVAnonparametric
Heat map of cell meansplot_cell_means
Plot the pairwise differences with their intervalsplot_differences
Field map of the response or of the residualsplot_field
Interaction plot of two treatment factorsplot_interaction
Partition of the total sum of squaresplot_ss_partition
Biplots of an AMMI analysisplot.ad_ammi
Residual plots of a designplot.ad_anova
Plot treatment means with their lettersplot.ad_comparison
Plot a randomised field layoutplot.ad_layout
Replicates and power for a difference between two treatmentspower_design
Recover inter-block information (REML)recover_interblock
Save a figure to a filesave_figure
Smith's index of soil heterogeneitysmith_index
Irrigation systems by varieties (split-plot in RCBD)split_irrigation
Stability statistics of a multi-environment trialstability
Test contrasts among the levels of a factortest_contrasts
Tomato varieties by fertiliser (factorial in RCBD)tomato_factorial
Compare transformations of the responsetransformations
Trend analysis of a quantitative factortrend
Uniformity trial of 24 x 16 basic units (simulated)uniformity_trial
van der Waerden normal-scores testwaerden_test
Critical t of the Waller-Duncan k-ratio testwaller_critical
Waller-Duncan k-ratio t testwaller_duncan
Wheat yield in a 4 x 4 Latin squarewheat_latin