| detect.interaction | R Documentation |
Run the AMMI Bayesian model for continuous data.
detect.interaction(model, type="gen", conf=0.95)
model |
An object ammiBayes |
type |
Defines the genotypes ("gen") or environments ("env") to be detected with interaction. By default is genotype. |
conf |
Define the probability of the area of confidence. By default is 0.95. |
Luciano A. Oliveira
Carlos P. Silva
Cristian T. E. Mendes
Alessandra Q. Silva
Joel J. Nuvunga
Marcio Balestre
Larissa C. V. Boas
Julio S. S. Bueno-Filho
Fabio M. Correa
library(ammiBayes)
data(ammiData)
Env <- factor(ammiData$amb)
Rep <- factor(ammiData$rep)
Gen <- factor(ammiData$gen)
Y <- ammiData$prod
model <- ammiBayes(Y=Y, Gen=Gen, Env=Env, Rep=Rep, iter=10,
burn=1, jump=2, chains=2)
# detect.interaction(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.