stability.wricke: Ecovalence

Description Usage Arguments Value References Examples

Description

This function calculates the Wricke's ecovalence.

Usage

1
2
stability.wricke(dataf, res_var, gen_var, env_var, rep_var,
  plotIt = TRUE)

Arguments

dataf

the name of the data frame containing the data to analyze.

res_var

the response variable.

gen_var

the genotypes variable.

env_var

the environments variable.

rep_var

the replications variable.

plotIt

a logical value specifying if plot should be drawn; default is TRUE

Value

A numeric vector with genotype's ecovalence.

References

Wricke, G., 1962. Tjber eine Methode zur Erfassung der okologischen Streubreite in Feldversuchen. Z. Pflanzenzuchtg. 47: 92-96.

Examples

1
2
data(exp_data)
stability.wricke(exp_data,"yield","gen","env","rep")

Example output

  Novosib2   Novosib3  Novosib32  Novosib40  Novosib51  Obskaya_o   Omskaya6 
1.05582132 0.39384010 0.76364645 0.15359248 0.07659248 0.24773772 0.36998322 

agrostab documentation built on Oct. 30, 2019, 10:51 a.m.