The function computes the ecovalence (Wricke, 1965) for stability analysis.

ecovalence(.data, env, gen, rep, resp, verbose = TRUE)

## Arguments

.data The dataset containing the columns related to Environments, Genotypes, replication/block and response variable(s). The name of the column that contains the levels of the environments. The name of the column that contains the levels of the genotypes. The name of the column that contains the levels of the replications/blocks. The response variable(s). To analyze multiple variables in a single procedure use, for example, resp = c(var1, var2, var3). Logical argument. If verbose = FALSE the code will run silently.

## Value

An object of class ecovalence containing the results for each variable used in the argument resp.

## References

Wricke, G. 1965. Zur berechnung der okovalenz bei sommerweizen und hafer. Z. Pflanzenzuchtg 52:127-138.

## Examples

# \donttest{
library(metan)
out <- ecovalence(data_ge2,
env = ENV,
gen = GEN,
rep = REP,
resp = PH)
# }