Skip to contents

Calcuates Genotype Effects

Usage

# Default S3 method
g_eff(.data, .y, .gen, .env)

Arguments

.data

data.frame

.y

Response Variable

.gen

Genotypes Factor

.env

Environment Factor

Value

Genotype Effects

References

Crossa, J., Perez-Elizalde, S., Jarquin, D., Cotes, J.M., Viele, K., Liu, G., and Cornelius, P.L. (2011) Bayesian Estimation of the Additive Main Effects and Multiplicative Interaction Model Crop Science, 51, 1458–1469. (doi: 10.2135/cropsci2010.06.0343)

Author

  1. Muhammad Yaseen (myaseen208@gmail.com)

Examples


data(Maiz)
g_eff(
    .data  = Maiz
   , .y    = y
   , .gen  = entry
   , .env  = site
   )
#>            GEffs
#>  [1,] -241.10903
#>  [2,] -254.87903
#>  [3,]  -35.22403
#>  [4,]  359.71097
#>  [5,]  388.73597
#>  [6,]  472.03347
#>  [7,] -185.82153
#>  [8,] -574.94278
#>  [9,]   71.49597