Function for creating objects of S3 class AMMI.print
, summary
, plot
and
report
methods are available.
Usage
createAMMI(
envScores,
genoScores,
importance,
anova,
fitted,
trait,
envMean,
genoMean,
overallMean,
dat,
GGE,
byYear
)
Arguments
- envScores
A matrix containing environmental scores.
- genoScores
A matrix containing genotypic scores.
- importance
A data.frame containing the importance of the principal components.
- anova
A data.frame containing anova scores of the AMMI analysis.
- fitted
A matrix containing fitted values from the AMMI model.
- trait
A character string indicating the analyzed trait.
- envMean
A numerical vector containing the environmental means.
- genoMean
A numerical vector containing the genotypic means.
- overallMean
A numerical value containing the overall mean.
- GGE
Has a GGE analysis been performed?
- byYear
Has the analysis been performed by year?