plot.AMMI | R Documentation |
Biplot AMMI.
## S3 method for class 'AMMI'
plot(x,first=1,second=2,third=3,number=FALSE,gcol=NULL,ecol=NULL,
angle=25,lwd=1.8,length=0.1,xlab=NULL,ylab=NULL,xlim=NULL,ylim=NULL,...)
x |
object AMMI |
first |
position axis x, 0=Y-dependent, 1=PC1, 2=PC2, 3=PC3 |
second |
position axis y,0=Y-dependent, 1=PC1, 2=PC2, 3=PC3 |
third |
position axis z,0=Y-dependent, 1=PC1, 2=PC2, 3=PC3 |
number |
TRUE or FALSE names or number genotypes |
gcol |
genotype color |
ecol |
environment color |
angle |
angle from the shaft of the arrow to the edge of the arrow head |
lwd |
parameter line width in function arrow |
length |
parameter length in function arrow |
xlab |
x labels |
ylab |
y labels |
xlim |
x limites |
ylim |
y limites |
... |
other parameters of plot |
Produce graphs biplot.
Felipe de Mendiburu
AMMI
library(agricolae)
data(plrv)
model<- with(plrv,AMMI(Locality, Genotype, Rep, Yield))
# biplot PC2 vs PC1
plot(model)
## plot PC1 vs Yield
plot(model,0,1,gcol="blue",ecol="green")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.