stability.shu {agrostab} | R Documentation |
This function calculates the Shukla's stability variance.
stability.shu(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 |
Returns a list of two objects:
the analysis of variance table
the data frame object of stability analysis results:
bi
regression of genotype means on environmental means
t_value
t-values for gypothesis that bi=0
p_value
p-values for gypothesis that bi=0
sigma
Shukla's stability variance value
pf_value
p-values for gypothesis that sigmai=0
Shukla, G.K. 1972. Some statistical aspects of partitioning genotype-environmental components of variability. Heredity 29: 237-245. doi: 10.1038/hdy.1972.87
data(exp_data)
stability.shu(exp_data,"yield","gen","env","rep")