biplot.AMMI: Biplots for AMMI and GGE analyses of multi-environment...

biplot.AMMIobjR Documentation

Biplots for AMMI and GGE analyses of multi-environment genotype experiments

Description

This method is reserved for the classes 'AMMIobject' and 'GGEobject' as obtained from the 'AMMI()' and 'GGE()' functions in the 'aomisc' package. It draws swift biplots of two types: type 1 plots PC1 against the average yield of genotypes across environments, while type 2 plots PC2 against PC1. The former type of biplot is reserved for 'AMMI' objects, while the second one is for AMMI and GGE objects.

Usage

## S3 method for class 'AMMIobject'
biplot(x, biplot = 1, xlim=NULL, ylim=NULL, elabels=NULL, 
               glabels=NULL, quad=FALSE, cexG=0.9, 
               cexE=0.9,
               xlab=NULL, ylab=NULL, font=1, ...)
## S3 method for class 'GGEobject'
biplot(x, biplot = 1, xlim=NULL, ylim=NULL, elabels=NULL, 
               glabels=NULL, quad=FALSE, cexG=0.9, 
               cexE=0.9,
               xlab=NULL, ylab=NULL, font=1, ...)

Arguments

x

a 'AMMIobject' or 'GGEobject' objects

biplot

Numeric: either 1 or 2, to request on of the two available types of biplots (see description).

xlim

graphical parameter as in the 'plot' method

ylim

graphical parameter as in the 'plot' method

elabels

labels for the environments

glabels

labels for the genotypes

quad

logical. If TRUE, plots the axes

cexG

graphical parameter: the 'cex' for the genotype labels

cexE

graphical parameter: the 'cex' for the environment labels

xlab

graphical parameter as in the 'plot' method

ylab

graphical parameter as in the 'plot' method

font

graphical parameter as in the 'plot' method. Relating to the genotype labels

...

Other additional arguments

Value

It only returns a graph

Author(s)

Andrea Onofri

Examples

data("WinterWheat")
tab <- with(WinterWheat, AMMI(Yield, Genotype, Year, Block, PC = 2))
biplot(tab)

OnofriAndreaPG/aomisc documentation built on Feb. 26, 2024, 8:21 p.m.