Skip to contents

Calcuates Genotype by Environment Interaction Model

Usage

ge_model(.data, .y, .gen, .env, .rep)

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

Arguments

.data

data.frame

.y

Response Variable

.gen

Genotypes Factor

.env

Environment Factor

.rep

Replication Factor

Value

Genotype by Environment Interaction Model

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)
fm1 <-
   ge_model(
      .data  = Maiz
     , .y    = y
     , .gen  = entry
     , .env  = site
     , .rep  = rep
     )