Learn R Programming

PhysioIndexR (version 0.1.0)

MP: Mean Productivity (MP)

Description

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

Usage

MP(Gen, YN, YS)

Value

A data frame with Gen, MP.

$$MP = \frac{YN + YS}{2}$$

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). <10.2135/cropsci1981.0011183X002100060033x>.

Examples

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