GGE | R Documentation |

This function performs the GGE (Genotype plus Genotype by Environment interaction) analysis, according to Yan et al., 2000.

```
GGE(yield, genotype, environment, block, PC = 2)
```

`yield` |
a vector containing yield levels |

`genotype` |
a vector containing genotype codings |

`environment` |
a vector containing environment codings |

`block` |
a vector containing block codes for each environment |

`PC` |
the number of PCs that one wants to extract |

Returns a list of class 'GGEobject' with the following components

`genotype_means` |
The overall least squares genotype means |

`environment_means` |
The overall least squares environment means |

`interaction_means` |
The least squares means for the genotype by environment combinations |

`ge_effect` |
a two-way table of 'interaction effects'gge' effects |

`additive_ANOVA` |
an ANOVA table for the additive model |

`GGE_summary` |
a summary table for GGE analysis |

`environment_scores` |
a table of environment scores |

`genotype_scores` |
a table of genotype scores |

Andrea Onofri

Yan, W., Hunt, L.A., Sheng, Q., Szlavnics, Z., 2000. Cultivar Evaluation and Mega-Environment Investigation Based on the GGE Biplot. Crop Science 40, 597–605.

```
data("WinterWheat")
tab <- with(WinterWheat, GGE(Yield, Genotype, Year, Block, PC = 2))
tab
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.