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
Author
Tien-Cheng Wang
Details
Coefficient of determination (Pinthus, 1976) is calculatd based on regression function.
Variety with low coefficient of determination is considered as stable.
Equation of coefficient of determination can be found in vignette file.