Learn R Programming

phenability (version 2.0)

kang: Kang Function

Description

Performs a stability analysis based on the Kang (1988) criteria. Kang nonparametric stability (ranksum) uses both "trait single value" and stability variance (Shukla, 1972), and the genotype with the lowest ranksum is commonly the most favorable one.

Usage

kang(data, interaction=FALSE)

Arguments

kang
kang function
data
A numeric data.frame with fenotypic means values of MET, and genotypes and environments by rows and columns, respectively.
interaction
do a interaction plot or not (FALSE = no interaction plot output, TRUE = draws a interaction plot between genotypes and environments).

Value

Is returned a list with "ranksum" value by genotype, the ranking for the response variable in each environment, and the Spearman correlation matrix between environments.

References

Kang, M.S. 1988. A ranksum method for selecting high yielding, stable corn genotypes. Cereal Res. Comm. 16:113.

Shukla, G.K. 1972. Some aspects of partitioning genotype environmental components of variability. Heredity 28:237.

Examples

Run this code
require("phenability")
data(bean.data)
bean.data
x <- bean.data

kang(x, interaction=TRUE)

Run the code above in your browser using DataLab