Additive ANOVA for Genotypes by Environment Interaction (GEI) model
Source:R/add_anova.R
add_anova.Rd
Additive ANOVA for Genotypes by Environment Interaction (GEI) model
Usage
add_anova(.data, .y, .rep, .gen, .env)
# Default S3 method
add_anova(.data, .y, .rep, .gen, .env)
References
Singh, R. K. and Chaudhary, B. D. (2004) Biometrical Methods in Quantitative Genetic Analysis. New Delhi: Kalyani.
Author
Muhammad Yaseen (myaseen208@gmail.com)
Kent M. Edkridge (keskridge1@unl.edu)
Examples
data(ge_data)
YieldANOVA <-
add_anova(
.data = ge_data
, .y = Yield
, .rep = Rep
, .gen = Gen
, .env = Env
)
YieldANOVA
#> $anova
#> Analysis of Variance Table
#>
#> Response: .data[[Y]]
#> Df Sum Sq Mean Sq F value Pr(>F)
#> Env 10 263940496 26394050 68.0551 1.995e-08 ***
#> Rep(Env) 11 4266167 387833
#> Gen 59 71662431 1214617 12.2482 < 2.2e-16 ***
#> Gen:Env 590 201336476 341248 3.4411 < 2.2e-16 ***
#> Residuals 649 64359568 99167
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>