stability.env_var {agrostab}R Documentation

Environmental variance

Description

This function calculates the Roemer's environmental variance.

Usage

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

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

[Package agrostab version 0.1.0 Index]