stability.env_var {agrostab} | R Documentation |
This function calculates the Roemer's environmental variance.
stability.env_var(dataf, res_var, gen_var, env_var, rep_var,
plotIt = TRUE)
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 |
A numeric vector with environmental variances of genotypes.
Becker, H.C. and J. Leon. 1988. Stability analysis in plant breeding. Plant Breeding 101: 1-23.
data(exp_data)
stability.env_var(exp_data,"yield","gen","env","rep")