Learn R Programming

PhysioIndexR (version 0.1.0)

YI: Yield Index (YI)

Description

This function computes Yield Index (YI) using any traits (like yield) under stress and non-stress conditions. The lower values of YI indicates greater tolerance. For more details see Gavuzzi et al. (1997) doi:10.4141/P96-130.

Usage

YI(Gen, YS, YMS = NULL)

Value

A list with YMS and Result (data frame with Gen, YI).

$$YI = \frac{YS}{YMS}$$

Arguments

Gen

Character vector of genotype identifiers.

YS

Numeric vector: yield (any trait) under stress environment.

YMS

Optional numeric scalar: mean of YS. If NULL, computed.

References

Gavuzzi, P., Rizza, F., Palumbo, M., Campanile, R.G., Ricciardi, G.L. and Borghi, B. (1997). Evaluation of field and laboratory predictors of drought and heat tolerance in winter cereals. Canadian Journal of Plant Science, 77(4), 523-531.

Examples

Run this code
out = YI(Gen=c("G1","G2","G3"), YS=c(7,5,3))
print(out)

Run the code above in your browser using DataLab