the name of the data frame containing the data to analyze.
res_var
the response variable.
gen_var
the genotypes variable.
env_var
the environments variable.
rep_var
the replications variable.
plotIt
a logical value specifying if plot should be drawn; default is TRUE
Value
A numeric vector with superiority measure Pi of genotypes.
References
Lin, C.S. and M.R. Binns. 1988. A superiority measure of cultivar performance for cultivar x location data. Can J Plant Sci 68: 193?198. doi: 10.4141/cjps88-018