ecovalence: Stability analysis based on Wricke's model

View source: R/ecovalence.R

ecovalenceR Documentation

Stability analysis based on Wricke's model

Description

[Stable]

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

Usage

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).

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.

rep

The name of the column that contains the levels of the replications/blocks.

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 ecovalence containing the results for each variable used in the argument resp.

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

References

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

Examples


library(metan)
out <- ecovalence(data_ge2,
                 env = ENV,
                 gen = GEN,
                 rep = REP,
                 resp = PH)



metan documentation built on March 7, 2023, 5:34 p.m.