stability.mart {agrostab} | R Documentation |
Weighted homeostaticity index
Description
This function calculates the Martynov's weighted homeostaticity index.
Usage
stability.mart(dataf, res_var, gen_var, env_var, rep_var, alpha = 0.05,
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. |
alpha |
alpha level of LSD; default is 0.05. |
plotIt |
a logical value specifying if plot should be drawn; default is TRUE |
Value
A numeric vector with weighted homeostaticity index of genotypes.
References
Martynov S.P. 1990. A Method for the Estimation of Crop Varieties Stability. Biom. J. 7: 887-893.
Examples
data(exp_data)
stability.mart(exp_data,"yield","gen","env","rep")
[Package agrostab version 0.1.0 Index]