stability.er: Regression on Environmental Index

Description Usage Arguments Value References Examples

View source: R/stability.er.R

Description

This function calculates the Erberhart&Rassel's stability parameters and the Dragavtsev's coefficient of multiplicativity.

Usage

1
stability.er(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

Returns a list of three objects:

ANOVA

the analysis of variance table

scores

the data frame object of stability analysis results:

Ij

enviromental indexes

References

Eberhart, S.A. and W.A. Russell. 1966. Stability parameters for comparing varieties. Crop Sci 6: 36-40. doi:10.2135/cropsci1966.0011183X000600010011x

Examples

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

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