tai | R Documentation |
This function runs Tai's stability analysis (Tai, G. C. C., 1971). It assumes a RCBD with fixed effects for genotypes and random effects for environments.
tai(trait, geno, env, rep, dfr, maxp = 0.1)
trait |
The name of the column for the trait to analyze. |
geno |
The name of the column that identifies the genotypes. |
env |
The name of the column that identifies the environments. |
rep |
The name of the column that identifies the replications. |
dfr |
The name of the data frame. |
maxp |
Maximum allowed proportion of missing values to estimate, default is 10%. |
If the data set is unbalanced, a warning is produced.
It returns the alpha and lambda values for each genotype for the Tai stability analysis.
Raul Eyzaguirre.
Tai, G. C. C. (1971). Genotypic Stability Analysis and Its Application to Potato Regional Trials, Crop Science, Vol 11.
model.tai <- tai("y", "geno", "env", "rep", met8x12)
model.tai$Tai_values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.