Fox {metan} | R Documentation |
Fox's stability function
Description
Performs a stability analysis based on the criteria of Fox et al. (1990), using the statistical "TOP third" only. A stratified ranking of the genotypes at each environment is done. The proportion of locations at which the genotype occurred in the top third are expressed in the output.
Usage
Fox(.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 Fox
, 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.
-
mean the mean for the response variable.
-
TOP The proportion of locations at which the
Author(s)
Tiago Olivoto tiagoolivoto@gmail.com
References
Fox, P.N., B. Skovmand, B.K. Thompson, H.J. Braun, and R. Cormier. 1990. Yield and adaptation of hexaploid spring triticale. Euphytica 47:57-64. doi:10.1007/BF00040364.
Examples
library(metan)
out <- Fox(data_ge2, ENV, GEN, PH)
print(out)