Learn R Programming

PhysioIndexR (version 0.1.0)

MRP: Mean Relative Performance (MRP)

Description

This function computes Mean Relative Performance (MRP) using any traits (like yield) under stress and non-stress conditions. The lower values of MRP indicates greater tolerance. For more details see Ramirez-Vallejo and Kelly (1998) doi:10.1023/A:1018353200015.

Usage

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

Value

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

$$MRP = \left(\frac{YS}{YMS}\right) + \left(\frac{YN}{YMN}\right)$$

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

Ramirez-Vallejo, P. and Kelly, J.D. (1998). doi:10.1023/A:1018353200015.

Examples

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