stability.shu {agrostab}R Documentation

Stability variance

Description

This function calculates the Shukla's stability variance.

Usage

stability.shu(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 list of two objects:

ANOVA

the analysis of variance table

scores

the data frame object of stability analysis results:

References

Shukla, G.K. 1972. Some statistical aspects of partitioning genotype-environmental components of variability. Heredity 29: 237-245. doi: 10.1038/hdy.1972.87

Examples

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

[Package agrostab version 0.1.0 Index]