Skip to contents

Calcuates Environment Effects

Usage

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

Arguments

.data

data.frame

.y

Response Variable

.gen

Genotypes Factor

.env

Environment Factor

Value

Environment 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)
e_eff(
    .data  = cultivo2008
   , .y    = y
   , .gen  = entry
   , .env  = site
   )
#>            EEffs
#>  [1,]  -603.1232
#>  [2,] -1054.5988
#>  [3,]   331.6000
#>  [4,]  -295.4003
#>  [5,]   886.0284
#>  [6,]  1566.6586
#>  [7,] -1838.0358
#>  [8,]  1061.6486
#>  [9,] -1344.4093
#> [10,]   207.8232
#> [11,] -1284.7381
#> [12,] -1746.7039
#> [13,] -1955.8413
#> [14,] -1044.4037
#> [15,] -2690.0268
#> [16,]  -479.6541
#> [17,]  -139.9570
#> [18,]  1781.8341
#> [19,] -1550.7557
#> [20,]  -756.1186
#> [21,] -2735.9166
#> [22,]  5925.1444
#> [23,]  3503.9430
#> [24,]  -289.8548
#> [25,]  4544.8576