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

Perez-Elizalde, S., Jarquin, D., and Crossa, J. (2011) A General Bayesian Estimation Method of Linear–Bilinear Models Applied to Plant Breeding Trials With Genotype × Environment Interaction. Journal of Agricultural, Biological, and Environmental Statistics, 17, 15–37. (doi:10.1007/s13253-011-0063-9)

Author

  1. Muhammad Yaseen (myaseen208@gmail.com)

Examples


data(cultivo2008)
g_eff(
    .data  = cultivo2008
   , .y    = y
   , .gen  = entry
   , .env  = site
   )
#>            GEffs
#>  [1,] -350.52315
#>  [2,]  507.31462
#>  [3,] -119.04895
#>  [4,] -109.98964
#>  [5,]  131.55396
#>  [6,]   81.70355
#>  [7,]  704.43892
#>  [8,]  117.21666
#>  [9,]   57.03388
#> [10,] -308.06991
#> [11,] -262.38100
#> [12,] -449.24895