stability.linbin {agrostab}R Documentation

Superiority measure

Description

This function calculates the Lin&Binn's superiority measure.

Usage

stability.linbin(dataf, res_var, gen_var, env_var, rep_var,
  plotIt = TRUE)

Arguments

dataf

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

Examples

data(exp_data)
stability.linbin(exp_data,"yield","gen","env","rep")

[Package agrostab version 0.1.0 Index]