gg_tai: Tai's stability analysis

Description Usage Arguments Details Value Author(s) References

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
2
3
gg_tai(trait, geno, env, rep, data, maxp = 0.1, conf = 0.95, title = NULL,
  color = c("darkorange", "black", "gray"), size = c(1, 1),
  scaleSize = TRUE)

Arguments

trait

The trait to analyze.

geno

The genotypes.

env

The environments.

rep

The replications or blocks. A RCBD is assumed.

data

The name of the data frame containing the data.

maxp

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

conf

Probability for the Tai limits.

title

Main title for plot.

color

Color for symbols, labels and lines. Ignored; maintained for compatibility with original tai function.

size

Relative size for symbols and labels. Ignored; maintained for compatibility with original tai function.

scaleSize

logical. Whether dots should be scaled by trait value or not. Default is TRUE.

Details

The limits for alpha and lambda are computed using the mean squares from an ANOVA table for a RCBD with blocks nested into environments. If the data set is unbalanced, a warning is produced.

Value

It returns the Tai graph for stability analysis but not anymore the values of alpha and lambda for each genotype. Use 'tai' function.

Author(s)

Raul Eyzaguirre

Reinhard Simon (transfer to ggplot2)

References

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


c5sire/fbmet documentation built on May 13, 2019, 10:34 a.m.