wsmp | R Documentation |
This function computes the WAASY or WAASBY indexes (Olivoto et al., 2019) considering different scenarios of weights for stability and mean performance.
After fitting a model with the functions waas()
or
waasb()
it is possible to compute the superiority indexes WAASY
or WAASBY in different scenarios of weights for stability and mean
performance. The number of scenarios is defined by the arguments
increment
. By default, twenty-one different scenarios are computed. In
this case, the the superiority index is computed considering the following
weights: stability (waasb or waas) = 100; mean performance = 0. In other
words, only stability is considered for genotype ranking. In the next
iteration, the weights becomes 95/5 (since increment = 5). In the third
scenario, the weights become 90/10, and so on up to these weights become
0/100. In the last iteration, the genotype ranking for WAASY or WAASBY
matches perfectly with the ranks of the response variable.
wsmp( model, mresp = 100, increment = 5, saveWAASY = 50, prob = 0.05, progbar = TRUE )
model |
An object computed with |
mresp |
A numeric value that will be the new maximum value after
rescaling. By default, the variable in |
increment |
The increment in the weight ratio for stability and mean performance. Se the Details section for more information. |
saveWAASY |
Automatically save the WAASY values when the weight for
stability is |
prob |
The p-value for considering an interaction principal component
axis significant. must be multiple of |
progbar |
A logical argument to define if a progress bar is shown.
Default is |
An object of class wsmp
with the following items for each
variable
When computed with waas()
or waasb()
.
scenarios A list with the model for all computed scenarios.
WAASY The values of the WAASY estimated when the weight for the
stability in the loop match with argument saveWAASY
.
hetdata, hetcomb The data used to produce the heatmaps.
Ranks All the values of WAASY estimated in the different scenarios of WAAS/GY weighting ratio.
When computed with mps()
hetcomb showing the rank for mean performance and stability in the different weights.
Tiago Olivoto tiagoolivoto@gmail.com
Olivoto, T., A.D.C. L\'ucio, J.A.G. da silva, V.S. Marchioro, V.Q. de Souza, and E. Jost. 2019. Mean performance and stability in multi-environment trials I: Combining features of AMMI and BLUP techniques. Agron. J. doi: 10.2134/agronj2019.03.0220
resca()
, mps()
, mtmps()
library(metan) # using the WAASB as statistic and BLUP as mean performance # the same as using waasb() model <- mps(data_ge2, env = ENV, gen = GEN, rep = REP, resp = PH) scenarios <- wsmp(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.