stability.cv: Coefficient of variation

Description Usage Arguments Value References Examples

Description

This function calculates the Francis&Kannenberg's parameters of stability

Usage

1
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

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

Example output

                CV     Mean
Novosib2  21.14629 4.961667
Novosib3  17.92089 5.204444
Novosib32 14.54815 4.167778
Novosib40 20.67731 4.812222
Novosib51 17.88344 4.661111
Obskaya_o 18.31621 5.039444
Omskaya6  19.35501 5.121667

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