Skip to contents

Individual ANOVA for Each Environment

Usage

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

Arguments

.data

data.frame

.y

Response Variable

.rep

Replication Factor

.gen

Genotypes Factor

.env

Environment Factor

Value

Additive ANOVA

References

Singh, R. K. and Chaudhary, B. D. (2004) Biometrical Methods in Quantitative Genetic Analysis. New Delhi: Kalyani.

Author

  1. Muhammad Yaseen (myaseen208@gmail.com)

  2. Kent M. Edkridge (keskridge1@unl.edu)

Examples


data(ge_data)
Yield.indiv_anova <-
         indiv_anova(
            .data = ge_data
          , .y    = Yield
          , .rep  = Rep
          , .gen  = Gen
          , .env  = Env
          )
Yield.indiv_anova
#> $`Analysis of Variance for FSD`
#>             Df   Sum Sq Mean Sq F value Pr(>F)    
#> Gen         59 45524231  771597   32.62 <2e-16 ***
#> Residuals   60  1419180   23653                   
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> $`Analysis of Variance for FSDR`
#>             Df   Sum Sq Mean Sq F value   Pr(>F)    
#> Gen         59 14019781  237623   2.724 7.91e-05 ***
#> Residuals   60  5234860   87248                     
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> $`Analysis of Variance for Okara`
#>             Df   Sum Sq Mean Sq F value   Pr(>F)    
#> Gen         59 26802597  454281   3.538 1.22e-06 ***
#> Residuals   60  7703642  128394                     
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> $`Analysis of Variance for Sargodha`
#>             Df   Sum Sq Mean Sq F value  Pr(>F)    
#> Gen         59 38381469  650533   4.254 4.3e-08 ***
#> Residuals   60  9175301  152922                    
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> $`Analysis of Variance for Gujranwala`
#>             Df   Sum Sq Mean Sq F value   Pr(>F)    
#> Gen         59 41863914  709558   4.687 6.55e-09 ***
#> Residuals   60  9082956  151383                     
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> $`Analysis of Variance for KotNaina`
#>             Df   Sum Sq Mean Sq F value   Pr(>F)    
#> Gen         59 26692263  452411     4.3 3.51e-08 ***
#> Residuals   60  6313095  105218                     
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> $`Analysis of Variance for KSK`
#>             Df   Sum Sq Mean Sq F value   Pr(>F)    
#> Gen         59 17890629  303231   3.472 1.68e-06 ***
#> Residuals   60  5239575   87326                     
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> $`Analysis of Variance for Khanewal`
#>             Df   Sum Sq Mean Sq F value   Pr(>F)    
#> Gen         59 15125214  256360   2.451 0.000345 ***
#> Residuals   60  6274965  104583                     
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> $`Analysis of Variance for Sahiwal`
#>             Df   Sum Sq Mean Sq F value   Pr(>F)    
#> Gen         59 26109918  442541   4.095 8.82e-08 ***
#> Residuals   60  6484679  108078                     
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> $`Analysis of Variance for Bhakkar`
#>             Df   Sum Sq Mean Sq F value  Pr(>F)   
#> Gen         59 10870598  184247   1.862 0.00885 **
#> Residuals   60  5936717   98945                   
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> $`Analysis of Variance for Bahawalnagar`
#>             Df  Sum Sq Mean Sq F value Pr(>F)  
#> Gen         59 9718292  164717   1.716 0.0196 *
#> Residuals   60 5760765   96013                 
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#> 
#> attr(,"subheadings")
#>  [1] "Analysis of Variance for FSD"         
#>  [2] "Analysis of Variance for FSDR"        
#>  [3] "Analysis of Variance for Okara"       
#>  [4] "Analysis of Variance for Sargodha"    
#>  [5] "Analysis of Variance for Gujranwala"  
#>  [6] "Analysis of Variance for KotNaina"    
#>  [7] "Analysis of Variance for KSK"         
#>  [8] "Analysis of Variance for Khanewal"    
#>  [9] "Analysis of Variance for Sahiwal"     
#> [10] "Analysis of Variance for Bhakkar"     
#> [11] "Analysis of Variance for Bahawalnagar"