# NOT RUN {
data(maize)
#names(maize)
Geno=as.vector(maize$Cultivar)
Env=paste(maize$Location,maize$Year,sep=":")
y=maize$Yld
res=stab.var(y,class=Geno,cls2=Env,resample="Boot",times=100)
res
res=stab.var(y,class=Geno,resample="Perm",times=100)
res
# }
Run the code above in your browser using DataLab