Huehn {metan} | R Documentation |
Huehn's stability statistics
Description
Performs a stability analysis based on Huehn (1979) statistics. The four nonparametric measures of phenotypic stability are: S1 (mean of the absolute rank differences of a genotype over the n environments), S2 (variance among the ranks over the k environments), S3 (sum of the absolute deviations), and S6 (relative sum of squares of rank for each genotype).
Usage
Huehn(.data, env, gen, resp, verbose = TRUE)
Arguments
.data |
The dataset containing the columns related to Environments, Genotypes, replication/block and response variable(s). |
env |
The name of the column that contains the levels of the environments. |
gen |
The name of the column that contains the levels of the genotypes. |
resp |
The response variable(s). To analyze multiple variables in a
single procedure use, for example, |
verbose |
Logical argument. If |
Value
An object of class Huehn
, which is a list containing the results
for each variable used in the argument resp
. For each variable, a
tibble with the following columns is returned.
-
GEN The genotype's code.
-
Y The mean for the response variable.
-
S1 Mean of the absolute rank differences of a genotype over the n environments.
-
S2 variance among the ranks over the k environments.
-
S3 Sum of the absolute deviations.
-
S6 Relative sum of squares of rank for each genotype.
Author(s)
Tiago Olivoto tiagoolivoto@gmail.com
References
Huehn, V.M. 1979. Beitrage zur erfassung der phanotypischen stabilitat. EDV Med. Biol. 10:112.
Examples
library(metan)
out <- Huehn(data_ge2, ENV, GEN, PH)
print(out)