indviab: Ear Indexes

View source: R/indqi.R

indviabR Documentation

Ear Indexes

Description

Estimating the viability index from the combination of two field variables.

Usage

indviab(
  GEN,
  var1,
  var2,
  ylab = "Index",
  xlab = "Genotype",
  stat = "all",
  verbose = FALSE,
  plot = FALSE
)

Arguments

GEN

The column with the name of the genotypes

var1

The column containing the first variable

var2

The column containing the second variable

ylab

The name of the chart's Y axis

xlab

The name of the chart's X axis

stat

Logical argument. Use 'all' to return the values obtained for all observations or 'mean' to return the mean per genotype.

verbose

Logical argument. Runs the code silently if FALSE.

plot

Logical argument. Plot a graphic if 'TRUE'.

Value

Returns the index obtained between the reported variables. The higher the index, the better the genotype.

Author(s)

Willyan Junior Adorian Bandeira

Ivan Ricardo Carvalho

Murilo Vieira Loro

Leonardo Cesar Pradebon

Jose Antonio Gonzalez da Silva

References

Rigotti, E. J., Carvalho, I. R., Loro, M. V., Pradebon, L. C., Dalla Roza, J. P., & Sangiovo, J. P. (2024). Seed and grain yield and quality of wheat subjected to advanced harvest using a physiological ripening process. Revista Engenharia na Agricultura - REVENG, 32, 54-64. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.13083/reveng.v32i1.17394")}

Examples

library(EstimateBreed)

data("trigo")
#Ear viability index
index1 <- with(trigo,indviab(TEST,NGE,NEE))

#Ear harvest index
index2 <- with(trigo,indviab(TEST,MGE,ME))

#Spikelet deposition index in the ear
index3 <- with(trigo,indviab(TEST,NEE,CE))

EstimateBreed documentation built on April 4, 2025, 5:37 a.m.