PC.res | R Documentation |
PC.res
This function outputs PCs for AMMI analysis.
PC.res(model, pcN = 2)
model |
an AMMI object. |
pcN |
keeping pc number (default, 2). |
library(AFEchidna)
data(plrv,package='agricolae')
names(plrv) #str(plrv)
library(agricolae)
model<- with(plrv,AMMI(ENV=Locality,GEN=Genotype,REP=Rep,
Y=Yield,console=F,PC=T))
model$ANOVA # for aov
model$analysis # for pc
PCs.aov<-PC.res(model,2) # for GEI aov
PCs.aov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.