Summary
Release focused on inference correctness, robust Compact Letter Display (CLD) calculations, strict separation between experimental treatments and baseline continuous covariates, and flexible block structures.
Changes
- Covariate Role Isolation: Continuous covariates (e.g.
plant_density,initial_height) are strictly isolated from post-hoc slicing, factor interactions, and faceting. - Robust Compact Letter Displays (CLD): Standardized multcompView alignment supporting multi-letter groupings (e.g.
ab,bc) and pairwise probability matrices. - Flexible Blocking Controls: Added explicit
block_as = c("auto", "fixed", "random")parameter across suggestion and model fitting workflows. - Unified Visuals & Reporting: Synchronized post-hoc families, adjustment methods, and estimand definitions across
plot_publication()andexperiment_report(). - nlme Compatibility: Improved fixed-block model support and variance weighting structures.
- Test Coverage: Added 28 new contract and regression tests in
tests/testthat/test-posthoc-contracts.R(188 passing tests total).
Installation
remotes::install_github("PALP31/agriDesignR@v0.2.1")