0

I'm analyzing the multi-environment data using the metan package and trying to get the AMMI model ANOVA and Ammi stability indexes. I can obtain the AMMI ANOVA using the code

AMMI_model <- performs_ammi(sss, env = ENV,gen = GEN,rep = REP,resp = SW)

I have this code running successfully but when I try to run code for Stability index which is

stab_indexes <- ammi_indexes(AMMI_model)

I'm getting the error

Error in rowSums((gamma.n)^2) : 
  'x' must be an array of at least two dimensions
desertnaut
  • 57,590
  • 26
  • 140
  • 166

0 Answers0