Learn R Programming

PhysioIndexR (version 0.1.0)

TOL: Stress Tolerance (TOL)

Description

This function computes stress tolerance (TOL) using any traits like yield under stress and non-stress conditions. The lower values of TOL indicates greater tolerance. For more details see Rosielle and Hamblin (1981) doi:10.2135/cropsci1981.0011183X002100060033x.

Usage

TOL(Gen, YN, YS)

Value

A list of output columns:

  • Gen: Character vector of genotype IDs.

  • TOL: Estimated stress tolerance (TOL) values for respective genotypes.

$$TOL = YN - YS$$

Arguments

Gen

Character vector of Genotype identifiers.

YN

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

YS

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

References

Rosielle, A.A. and Hamblin, J. (1981). doi:10.2135/cropsci1981.0011183X002100060033x.

Examples

Run this code
TOL(Gen=c("G1","G2","G3"), YN=c(10,8,5), YS=c(7,5,3))

Run the code above in your browser using DataLab