Learn R Programming

PhysioIndexR (version 0.1.0)

RSI: Relative Stress Index (RSI)

Description

This function computes Relative Stress Index (RSI) using any traits (like yield) under stress and non-stress conditions. The lower values of RSI indicates greater tolerance. For more details see Fischer and Wood (1979) doi:10.1071/AR9791001.

Usage

RSI(Gen, YN, YS, YMN = NULL, YMS = NULL)

Value

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

$$RSI = \frac{(YN/YS)}{(YMS/YMN)}$$

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.

YMN

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

YMS

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

References

Fischer, R.A. and Wood, J.T. (1979). Drought resistance in spring wheat cultivars. III.* Yield associations with morpho-physiological traits. Australian Journal of Agricultural Research, 30(6), 1001-1020.

Examples

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

Run the code above in your browser using DataLab