View source: R/genotypic_superiority_measure.R
genotypic_superiority_measure | R Documentation |
genotypic_superiority_measure
calculate variance of a genotype across environments.
genotypic_superiority_measure(
data,
trait,
genotype,
environment,
unit.correct = 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 |
Genotypic superiority measure (Lin and Binns, 1988) is calculatd based on means square distance between maximum value of environment j and genotype i. Variety with low genotypic superiority measure is considered as stable. Equation of genotypic superiority measure can be found in vignette file.
a data table with genotypic superiority measure
Tien-Cheng Wang
lin1988toolStability
data(Data)
res <- genotypic_superiority_measure(
data = Data,
trait = "Yield",
genotype = "Genotype",
environment = "Environment",
unit.correct = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.