Fox: Fox's stability function

Description Usage Arguments Value Author(s) References Examples

View source: R/Fox.R

Description

[Stable]

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

1
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, resp = c(var1, var2, var3).

verbose

Logical argument. If verbose = FALSE the code will run silently.

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.

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

1
2
3
library(metan)
out <- Fox(data_ge2, ENV, GEN, PH)
print(out)

metan documentation built on Nov. 10, 2021, 9:11 a.m.