AMMI.contour {agricolae}R Documentation

AMMI contour

Description

Draws a polygon or a circumference around the center of the Biplot with a proportional radio at the longest distance of the genotype.

Usage

AMMI.contour(model, distance, shape, ...)

Arguments

model Object
distance Circumference radius >0 and <=1
shape Numerical, relating to the shape of the polygon outline.
... Parameters corresponding to the R lines function

Details

First, it is necessary to execute the AMMI function. It is only valid for the BIPLOT function but not for the TRIPLOT one.

Value

model output AMMI
distance Numeric >0 and <=1
shape Numeric

Note

Complement graphics AMMI

Author(s)

Felipe de Mendiburu

See Also

AMMI

Examples

library(agricolae)
# see AMMI.
data(sinRepAmmi)
attach(sinRepAmmi)
REP <- 3
MSerror <- 93.24224
# Example 1
#startgraph
model<-AMMI(ENV, GEN, REP, YLD, MSerror,xlim=c(-8,6),ylim=c(-6,6))
AMMI.contour(model,distance=0.7,shape=8,col="red",lwd=2,lty=5)
#endgraph
# Example 2
#startgraph
for (i in seq(0,0.7,length=15)) {
AMMI.contour(model,distance=i,shape=100,col="green",lwd=2)
}

[Package agricolae version 1.0-6 Index]