Skip to contents

Bayesian linear-bilinear models

The Gibbs sampler of Perez-Elizalde et al. (2012) with an earlier trial as prior, and the biplot with HPD regions.

bys_priors() print(<bys_priors>)
Prior distributions of the Bayesian AMMI model
bayes_ammi()
Bayesian estimation of linear-bilinear models: AMMI and SREG (GGE)
bayes_gge()
Bayesian GGE (sites regression) model
bayes_ammi_biplot() bayes_gge_biplot()
AMMI and GGE biplots with highest posterior density regions

Model choice, interpretation and references

bys_compare()
Compare Bayesian AMMI and GGE models
as_draws_df(<bys_bayes_ammi>) as_draws(<bys_bayes_ammi>) as.mcmc.list(<bys_bayes_ammi>)
The draws of a fit for posterior, bayesplot and coda
bys_interpret() print(<bys_interpretation>) format(<bys_interpretation>)
Interpretation of a Bayesian AMMI analysis
bys_cite()
References of a result or of the package

The application

bys_app() bys_app_object()
Bayesian AMMI and SREG analysis in a web browser

Tables and least-squares AMMI

Cell means and variances, main and interaction effects, least-squares AMMI and the mixed model.

bys_ls_means()
Genotype-by-environment means
bys_ls_var()
Genotype-by-environment variances
bys_ls_gen_effects()
Genotype effects
bys_ls_env_effects()
Environment effects
bys_ls_ge_effects()
Genotype-by-environment interaction effects
bys_ls_ammi()
Least-squares AMMI model
bys_ls_model()
Linear mixed model of a multi-environment trial

Matrices

bys_contrasts()
Orthonormal contrast matrix
bys_orthonormal()
Gram-Schmidt orthonormalisation

Data

cultivo2008 cultivo2009
Maize trials of 2008 and 2009

Results and utilities

print(<bys_result>) summary(<bys_result>) print(<summary.bys_result>) format(<bys_result>) as.data.table(<bys_result>) as.data.frame(<bys_result>) plot(<bys_result>)
Methods for baystability results
bys_theme()
ggplot2 theme of baystability
bys_save()
Save a figure (vector PDF by default)
bys_notation()
Notation of baystability
bys_reference()
Published values used by the tests and vignettes
baystability baystability-package
baystability: Bayesian Stability Analysis of Genotype by Environment Interaction (GEI)