citation(package = "bayesammi")2026-11-09
\[ \newcommand{\vy}{\mathbf{y}} \newcommand{\vx}{\mathbf{x}} \newcommand{\vb}{\mathbf{b}} \newcommand{\ve}{\mathbf{e}} \newcommand{\vone}{\mathbf{1}} \newcommand{\vbeta}{\boldsymbol{\beta}} \newcommand{\vmu}{\boldsymbol{\mu}} \newcommand{\mX}{\mathbf{X}} \newcommand{\mZ}{\mathbf{Z}} \newcommand{\mV}{\mathbf{V}} \newcommand{\mI}{\mathbf{I}} \newcommand{\mJ}{\mathbf{J}} \newcommand{\mSigma}{\boldsymbol{\Sigma}} \newcommand{\mY}{\mathbf{Y}} \newcommand{\mK}{\mathbf{K}} \newcommand{\mH}{\mathbf{H}} \newcommand{\va}{\boldsymbol{\alpha}} \newcommand{\vg}{\boldsymbol{\gamma}} \newcommand{\vt}{\boldsymbol{\tau}} \newcommand{\vd}{\boldsymbol{\delta}} \newcommand{\vtheta}{\boldsymbol{\theta}} \newcommand{\vv}{\mathbf{v}} \newcommand{\E}{\mathrm{E}} \newcommand{\Var}{\mathrm{Var}} \newcommand{\Cov}{\mathrm{Cov}} \newcommand{\tr}{\operatorname{tr}} \]
Cite the package and the methods you used. citation("bayesammi") gives the package and the paper of every method in the package:
citation(package = "bayesammi")bam_cite() gives the references of the methods behind one result, as text or BibTeX, and every printed result and interpretation ends with its sources:
g <-
ge_ammi(
.data = Maiz
, .y = y
, .gen = entry
, .env = site
, .rep = rep
)
bam_cite(
x = g
, style = c("text", "bibtex")[2]
)@Article{Crossa2011,
title = {Bayesian Estimation of the Additive Main Effects and Multiplicative Interaction Model},
author = {Jose Crossa and Sergio Perez-Elizalde and Diego Jarquin and Jose Miguel Cotes and Kert Viele and Genzhou Liu and Paul L. Cornelius},
journal = {Crop Science},
year = {2011},
volume = {51},
number = {4},
pages = {1458--1469},
doi = {10.2135/cropsci2010.06.0343},
}
All references are also in a BibTeX file installed with the package:
basename(system.file("REFERENCES.bib", package = "bayesammi"))[1] "REFERENCES.bib"