Skip to contents

Simulated trial of ten pearl millet genotypes in six environments (three locations x two years) with three replications, for stability and GGE biplot analysis.

Usage

pearlmillet_met

Format

A data frame with 180 rows and 5 variables:

environment

Factor, location-year (BKN = Bikaner, JDH = Jodhpur, JSM = Jaisalmer).

rep

Factor, replication within environment.

genotype

Factor, genotype code (PM-01 to PM-10).

grain_yield

Grain yield (kg/ha).

days_to_maturity

Days to maturity.

Source

Simulated with data-raw/make_datasets.R (seed 2026). Not real experimental data.

Examples

data(pearlmillet_met)
stability_analysis(pearlmillet_met, "genotype", "environment", "rep",
                   "grain_yield", method = "eberhart")
#> 
#> ======================================================================
#>  STABILITY ANALYSIS
#> ======================================================================
#>  Trait        : grain_yield
#>  Genotypes    : 10
#>  Environments : 6
#>  Replications : 3
#>  Grand mean   : 1850.89
#> 
#>  Combined analysis of variance
#>                  Source  Df      Sum Sq    Mean Sq F value Pr(>F)    
#>  Environment              5 21126520.38 4225304.08 198.051 0.0000 ***
#>  Rep(Environment)        12   256012.80   21334.40   2.042 0.0271   *
#>  Genotype                 9  1529257.11  169917.46  16.265 0.0000 ***
#>  Genotype x Environment  45  1479461.62   32876.92   3.147 0.0000 ***
#>  Pooled error           108  1128267.87   10446.92                   
#>  Total                  179 25519519.78                              
#>  Signif. codes: *** p < 0.001, ** p < 0.01, * p < 0.05, NS not significant
#> 
#>  Eberhart and Russell (1966)
#>  Genotype Mean     bi   SE_bi    p_bi    S2di   p_S2di     R2
#>     PM-04 2016 1.1880 0.14110 0.25330 10530.0 0.004411 0.9466
#>     PM-07 1972 1.2740 0.06970 0.01717   -60.9 0.420300 0.9882
#>     PM-01 1923 1.0490 0.05697 0.44160 -1196.0 0.623600 0.9883
#>     PM-02 1856 1.0370 0.12790 0.78790  8030.0 0.013470 0.9427
#>     PM-06 1841 0.8868 0.06148 0.13950  -820.5 0.550700 0.9811
#>     PM-09 1830 1.1690 0.06507 0.06032  -500.7 0.492800 0.9878
#>     PM-10 1827 1.1220 0.10760 0.31840  4666.0 0.059670 0.9646
#>     PM-03 1792 0.6853 0.09957 0.03415  3499.0 0.098940 0.9221
#>     PM-08 1757 0.8286 0.09566 0.14770  2962.0 0.124400 0.9494
#>     PM-05 1694 0.7608 0.05551 0.01255 -1313.0 0.647100 0.9792
#>  bi = 1 and non-significant S2di indicate average, stable response.
#> 
#>  Full tables: $eberhart, $eberhart_anova, $finlay, $shukla, $wricke, $ammi, $cv_stability, $superiority