# NOT RUN {
## Compute three stability measures for TDMaize.
geStab <- gxeStability(TD = TDMaize, trait = "yld")
## Summarize results.
summary(geStab)
## Create plot of the computed stability measures against the means.
plot(geStab)
# }
# NOT RUN {
## Create a .pdf report summarizing the stability measures.
report(geStab, outfile = tempfile(fileext = ".pdf"))
# }
# NOT RUN {
## Compute Wricke's ecovalance for TDMaize with minimal values for yield as
## the best values. Sort results in ascending order.
geStab2 <- gxeStability(TD = TDMaize, trait = "yld", method = "wricke",
bestMethod = "min", sorted = "ascending")
summary(geStab2)
# }
Run the code above in your browser using DataLab