Description Usage Arguments Details Value Author(s) See Also
model_GxE
runs AMMI or GGE model
1 |
data |
The data frame on which the model is run. It should come from |
variable |
variable to analyse |
gxe_analysis |
the analysis to carry out: "AMMI" or "GGE" |
scaling for interaction.matrix is not useful as the column mean is equal to 0 because of model constraints and all the values are regarding one variable, so it is possible to compare it into the PCA.
More information can be found in the book regarding AMMI and GGE.
The function returns a list with three elements :
info : a list with variable and gxe_analysis
ANOVA a list with five elements:
model
anova_model
germplasm_effects a list of two elements:
effects
intra_variance
location_effects
interaction_matrix
PCA : PCA object from FactoMineR
Pierre Riviere
GxE_build_interaction_matrix
,
check_model
,
check_model.fit_model_GxE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.