Skip to contents

Simulated alpha lattice trial of 24 cowpea genotypes in three replications, each with six incomplete blocks of four plots. The layout was generated with agricolae::design.alpha().

Usage

cowpea_alpha

Format

A data frame with 72 rows and 5 variables:

rep

Factor, replication (1-3).

block

Factor, incomplete block within replication (1-6).

plot

Plot number.

genotype

Factor, genotype code (CP-01 to CP-24).

grain_yield

Grain yield (kg/ha).

Source

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

Examples

data(cowpea_alpha)
anova_alpha_lattice(cowpea_alpha, "grain_yield", "genotype", "rep",
                    "block")
#> 
#> ======================================================================
#>  ALPHA LATTICE DESIGN
#> ======================================================================
#>  Response          : grain_yield
#>  Analysis          : REML (blocks random)
#>  Genotypes         : 24
#>  Replications      : 3
#>  Incomplete blocks : 18
#> 
#>  Intra-block analysis of variance
#>                          Source Df    Sum Sq  Mean Sq F value Pr(>F)    
#>  rep                             2 110849.69 55424.85                   
#>  Blocks within rep (unadjusted) 15 359316.25 23954.42                   
#>  Blocks within rep (adjusted)   15 170639.87 11375.99   4.407 0.0002 ***
#>  genotype (adjusted)            23 247396.06 10756.35   4.167 0.0001 ***
#>  Intra-block error              31  80030.44  2581.63                   
#>  Signif. codes: *** p < 0.001, ** p < 0.01, * p < 0.05, NS not significant
#> 
#>  Grand mean = 1058.278   CV = 4.80%   Average SEd = 46.672   CD (5%) = 95.189
#>  Efficiency relative to RCBD = 166.8%
#> 
#>  REML variance components
#>         Component Variance
#>               rep     1679
#>  Block within rep     3142
#>          Residual     2560
#> 
#>  Adjusted genotype means (top 15, Fisher's LSD)
#>  Genotype    Mean Adjusted_mean     SE   Group
#>     CP-03 1229.67       1210.69 42.576       a
#>     CP-17 1216.67       1163.07 42.576     abc
#>     CP-16 1179.67       1162.40 42.595      ab
#>     CP-12 1098.67       1108.60 42.595     bcd
#>     CP-14 1097.33       1103.80 42.576    bcde
#>     CP-09 1063.00       1094.97 42.595   bcdef
#>     CP-15 1111.67       1093.96 42.595  bcdefg
#>     CP-19 1113.00       1093.20 42.576  bcdefg
#>     CP-13 1094.33       1079.56 42.595 bcdefgh
#>     CP-08 1013.67       1069.33 42.595  cdefgh
#>     CP-20 1069.00       1063.63 42.595   defgh
#>     CP-11 1069.00       1062.62 42.595  defghi
#>     CP-22 1033.00       1058.60 42.576  defghi
#>     CP-02 1071.67       1057.56 42.576  defghi
#>     CP-24 1026.33       1037.79 42.576  defghi