Learn R Programming

PhysioIndexR (version 0.1.0)

PYR: Percent Yield Reduction (PYR)

Description

This function computes Percent Yield Reduction (PYR) using any traits (like yield) under stress and non-stress conditions. The lower values of PYR indicates greater tolerance. For more details see Farshadfar and Javadinia (2011).

Usage

PYR(Gen, YN, YS)

Value

A data frame with Gen, PYR.

$$PYR = \frac{(YN - YS)}{YN} \times 100$$

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

Farshadfar, E. and Javadinia, J. (2011). Evaluation of chickpea (Cicer arietinum L.) genotypes for drought tolerance. Seed and Plant Improvement Journal, 27(4), 517–537.

Examples

Run this code
out = PYR(
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