ecovalence | R Documentation |
ecovalence
calculate genetic and environmental interaction.
ecovalence(
data,
trait,
genotype,
environment,
unit.correct = FALSE,
modify = FALSE
)
data |
a dataframe containing trait, genotype and environment. |
trait |
colname of a column containing a numeric vector of interested trait to be analysized. |
genotype |
colname of a column containing a character or factor vector labeling different genotypic varieties |
environment |
colname of a column containing a character or factor vector labeling different environments |
unit.correct |
logical, default is |
modify |
logical, default is |
Ecovalence (Wricke, 1962) is calcualted based on square and sum up the genotype–environment interaction all over the environment. Variety with low ecovalence is considered as stable. Equation of ecovalence can be found in vignette file.
a data table with ecovalence
Tien-Cheng Wang
wricke1962toolStability
data(Data)
eco.valence <- ecovalence(
data = Data,
trait = "Yield",
genotype = "Genotype",
environment = "Environment",
unit.correct = FALSE,
modify=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.