Learn R Programming

phenability (version 2.0)

thsu: Thennarasu Function

Description

Performs a stability analysis according to Thennarasu (1995) methodology. Therefore the statistics N1, N2, N3, N4 are presented in output.

Usage

thsu(data, interaction=FALSE)

Arguments

thsu
thsu 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 four numerical statistics values (N1, N2, N3, and N4) by genotype, the ranking for the response variable in each environment, and the Spearman correlation matrix between environments.

References

Thennarasu, K. 1995. On certain nonparametric procedures for studying genotype x environment interactions and yield stability. Ph.D. thesis. P.J. School, IARI, New Delhi, India.

Examples

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

thsu(x, interaction = TRUE)

Run the code above in your browser using DataLab