stability.cv {agrostab} | R Documentation |
Coefficient of variation
Description
This function calculates the Francis&Kannenberg's parameters of stability
Usage
stability.cv(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 data frame:
- CV
the genotype's coefficient of variation
- Mean
the genotype's mean
References
Francis, T.R. and L.W. Kannenberg. 1978. Yield stability studies in short-season maize. I. A descriptive method for grouping genotypes. Can J Plant Sci 58: 1029?1034. doi: 10.4141/cjps78-157
Examples
data(exp_data)
stability.cv(exp_data,"yield","gen","env","rep")
[Package agrostab version 0.1.0 Index]