Skip to content

agricolae (R) alternative

Browser Alternative to the agricolae R Package

The agricolae package by Felipe de Mendiburu is the de facto R toolkit for agricultural experimental designs. It powers the design generation and ANOVA workflows in countless plant-breeding labs and ICAR theses, and the post-hoc letter display (LSD.test, duncan.test, HSD.test) is the reference output that agronomists know. The package is open source, well documented and free.

agricolae's barrier is R itself. You need a working R install, the package install (which depends on klaR, AlgDesign and a stack of CRAN dependencies), and enough R fluency to write the design call, the model formula, the post-hoc call and the printout. StatVeda gives you the same family of designs as a browser tool with no install and no R: CRD, RBD, factorial RBD, split-plot, split-split-plot, strip-plot, Latin square, balanced lattice, alpha lattice (PBIB), augmented CRD and RBD, plus diallel, line by tester, generation means and path coefficient.

At a glance: agricolae (R) vs StatVeda

Featureagricolae (R)StatVeda
CostFree (open source, GPL)Free
InstallRequires R + agricolae from CRANBrowser, no install
Skill neededR syntax (design call + model + post-hoc call)Click and paste
CRD / RBD / Latin square / factorialYesYes
Split-plot / split-split-plot / strip-plotYes (sp.plot, ssp.plot, strip.plot)Yes
Balanced lattice / alpha lattice (PBIB)Yes (design.lattice, design.alpha)Yes
Augmented CRD / RBDYes (design.dau)Yes
AMMI / stabilityYes (AMMI, stability)Yes (AMMI, GGE)
Diallel / line by tester / generation meansPartial (lineXtester only)Yes (full Griffing 1 to 4 + 3 / 5 / 6 parameter genmeans)
Path coefficient (G / P / E)Partial (path.analysis is correlation-based)Yes (G, P and E matrices)
Field randomisationYes (built into design calls)Yes (separate Field Layout tool)
Post-hoc batteryLSD, Duncan, Tukey, Scheffe, Waller, REGWLSD, DMRT, Tukey, Dunnett, Tukey-Kramer, Games-Howell
Word / PPT exportVia knitr / R Markdown (extra setup)Yes (one click)
ReproducibilityExcellent (R script is the audit trail)Lower (no script saved)

Where agricolae (R) wins

Where StatVeda wins

Migration path

  1. Keep your R script for any analysis you want a reproducible audit trail on. agricolae is the right answer there.
  2. Use StatVeda for the everyday runs: a one-off ANOVA, a thesis-chapter table, a quick check before you commit to the full R pipeline.
  3. If you have an existing agricolae model output, paste the same data into StatVeda and confirm F, MS and p match. They will agree to four or more significant figures because both engines use the same closed-form formulae.
  4. For the post-hoc, pick the same family in StatVeda's selector (LSD, DMRT or Tukey HSD) that you called in agricolae (LSD.test, duncan.test, HSD.test).

Worked example: Same RBD analysis: agricolae vs StatVeda

Five-treatment, four-block randomised block design from Gomez and Gomez (1984) Chapter 2 (rice variety yield trial).

In agricolae (R)

In R: model <- aov(yield ~ block + treatment, data=df); HSD.test(model, 'treatment', console=TRUE) returns the source-of-variation table, treatment means, the honest significant difference and the compact letter display, all printed to the R console.

In StatVeda

In StatVeda: paste the treatment x block grid into the RBD calculator, pick Tukey HSD under the post-hoc selector. The result panel shows the same source table (with eta-squared and omega-squared added), the treatment means with the same compact letter display, and a Word export of the table preformatted for a thesis chapter.

Note: F, MS and the post-hoc letter assignments will match agricolae to four or more significant figures because both engines run the same closed-form RBD ANOVA. The difference is in presentation, not in the numbers.

Honest footnote: what this comparison cannot tell you

References (agricolae (R))

Try StatVeda

The StatVeda calculator engines run entirely in the browser. No signup, no install, no data sent to a server.

Open the RBD calculator

Other comparisons