The data were recorded on different agronomical traits on wheat crops with two years and three location. the question is that how to calculate stability, means GxE interaction. And suggest to me which is the best method for stability analysis.
Dear Anuj you can do stability analysis if you have replicated data then you can easily follow AMMI model, otherwise based on the mean data you can follow GGE biplot. These both analysis you can do in R software.
You can make three main columns- Genotype, (Year x location i.e. 2015 Karnal, 2015 Meerut, 2015 Varanasi, 2016 Karnal, 2016 Meerut, 2016 Varanasi) as the second column which will be Environment (6 Environments) and the third column is Replication. Then 4th to nth columns will be your traits.
Then you can do AMMI-based ANOVA using the Agriolae package in R. Mean data for the same can be used for GGE biplots like Which won where/Mean vs Stability etc. in the GGEBiplotGUE package in R.
You can also use the Metan package in R for this purpose and additionally it gives different stability parameters.