tai: Tai's stability analysis

Description Usage Arguments Details Value Author(s) References Examples

View source: R/tai.R

Description

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.

Usage

1
tai(trait, geno, env, rep, dfr, maxp = 0.1)

Arguments

trait

The trait to analyze.

geno

The genotypes.

env

The environments.

rep

The replications.

dfr

The name of the data frame.

maxp

Maximum allowed proportion of missing values to estimate, default is 10%.

Details

If the data set is unbalanced, a warning is produced.

Value

It returns the alpha and lambda values for each genotype for the Tai stability analysis.

Author(s)

Raul Eyzaguirre.

References

Tai, G. C. C. (1971). Genotypic Stability Analysis and Its Application to Potato Regional Trials, Crop Science, Vol 11.

Examples

1
2
model.tai <- tai("y", "geno", "env", "rep", met8x12)
model.tai$Tai_values

reyzaguirre/st4gi documentation built on Aug. 27, 2018, 6:57 a.m.