stability.env_var: Environmental variance

Description Usage Arguments Value References Examples

Description

This function calculates the Roemer's environmental variance.

Usage

1
2
stability.env_var(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 environmental variances of genotypes.

References

Becker, H.C. and J. Leon. 1988. Stability analysis in plant breeding. Plant Breeding 101: 1-23.

Examples

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

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