Bayesian estimation of the additive main effects and multiplicative interaction (AMMI) model of multi-environment trials by the Gibbs sampler of Crossa, Perez-Elizalde, Jarquin, Cotes, Viele, Liu and Cornelius (2011) <doi:10.2135/cropsci2010.06.0343>: posterior distributions of the overall mean, genotype and environment effects, singular values, genotype and environment scores (von Mises-Fisher conditionals on the constrained spheres) and error variance; several chains with burn-in and thinning; posterior summaries with highest posterior density intervals; the convergence diagnostics of Raftery-Lewis, Heidelberger-Welch and Gelman-Rubin; the AMMI biplot with highest posterior density regions for inference on genotypes and environments; least-squares AMMI; and a plain-language interpretation of every result, computed from its numbers. Beyond the article: unbalanced trials with missing plots and cells (data augmentation), environment-specific error variances, the Bayesian GGE (sites regression) model of Perez-Elizalde, Jarquin and Crossa (2012) <doi:10.1007/s13253-011-0063-9>, probabilities of superior performance and stability (Dias et al. 2022 <doi:10.1007/s00122-022-04041-y>), posterior ranks, Bayesian stability measures, predictions and the winner of every environment, model choice by DIC and WAIC with posterior predictive checks, draws for the 'posterior', 'bayesplot' and 'coda' packages, a compiled sampler, and a built-in 'shiny' application. Bayesian stability analysis: the Finlay-Wilkinson, Eberhart-Russell and Shukla models by Gibbs sampling, and the posterior distributions of classical stability indices (Wricke, Shukla, Lin-Binns, Annicchiarico, Eskridge's safety-first) and of AMMI-based indices (ASV, SIPC, EV, Za, WAAS, WAASY). Every result prints the references of its method.
| Version: | 1.0.0 |
| Depends: | R (≥ 4.2) |
| Imports: | coda, collapse, data.table, ggplot2, ggrepel, grDevices, MASS, Rcpp, scales, stats, utils |
| LinkingTo: | Rcpp, RcppArmadillo |
| Suggests: | bayesplot, bslib, DT, flextable, knitr, lme4, loo, magick, officer, pkgload, posterior, quarto, ragg, R.rsp, shiny, svglite, testthat (≥ 3.0.0), withr |
| Published: | 2026-11-10 |
| DOI: | 10.32614/CRAN.package.bayesammi |
| Author: | Muhammad Yaseen |
| Maintainer: | Muhammad Yaseen <myaseen208 at gmail.com> |
| BugReports: | https://github.com/myaseen208/bayesammi/issues |
| License: | GPL-2 |
| URL: | https://myaseen208.com/bayesammi/, https://github.com/myaseen208/bayesammi |
| NeedsCompilation: | yes |
| Language: | en-US |
| Citation: | bayesammi citation info |
| Materials: | README, NEWS |
| In views: | Agriculture, Bayesian |
| CRAN checks: | bayesammi results |
| Package source: | bayesammi_1.0.0.tar.gz |
| Windows binaries: | r-devel: bayesammi_0.3.0.zip, r-release: bayesammi_1.0.0.zip, r-oldrel: bayesammi_1.0.0.zip |
| macOS binaries: | r-release (arm64): bayesammi_1.0.0.tgz, r-oldrel (arm64): bayesammi_1.0.0.tgz, r-release (x86_64): bayesammi_0.3.0.tgz, r-oldrel (x86_64): bayesammi_0.3.0.tgz |
| Old sources: | bayesammi archive |
Please use the canonical form https://CRAN.R-project.org/package=bayesammi to link to this page.