TiagoOlivoto / metan

Package for multi-environment trial analysis
https://tiagoolivoto.github.io/metan/
GNU General Public License v3.0
35 stars 17 forks source link

rep and block arguments for gge #8

Closed myaseen208 closed 4 years ago

myaseen208 commented 4 years ago

I think gge must have arguments rep and block similar to anova_ind(), anova_joint(), performs_ammi(), waas() and waasb(), to analyze data from trials conducted in an alpha-lattice design.

TiagoOlivoto commented 4 years ago

Thanks for your suggestion @myaseen208 . gge() doesn't have rep and block arguments, because gge model is done on a g x e matrix of mean yield of g genotypes in e environments (Yan et al., 2000). So, replication and block structure are not taken into account in fact. You can, of course, analyze data from trials conducted in an alpha-lattice design. The only thing you need is to inform the columns for environments, genotypes, and variable (s) and simply ignore rep and block column of your data. Since this is not a clear bug, I'm closing this now, but fill free to comment anytime. Best