Learn R Programming

ScottKnott (version 1.3-3)

sorghum: Completely Randomized Design (CRD)

Description

The experiment consists of 16 treatments (cultivars) of sorghum conducted in a balanced squared lattice design and the yield by plot (kg/plot).

Usage

data(sorghum)
  sorghum

Arguments

Format

An incomplete balanced block design with 4 blocks, 16 treatments, and 5 repetitions, that is, the yield of each treatment is measured 5 times. sorghum is a list with 4 elements. The first tr is a factor of lenght 80 with 16 levels describing the treatments. The second dm is data.frame describing the design matrix. Its columns are x, bl (blocks) and r repetitions. The third y is a numeric vector the yields. The fourth dfm is a data frame with four columns. The first tree columns are the design matrix and the fourth is y.

Details

The experiment was conducted at EMBRAPA Milho e Sorgo (The Brazilian Agricultural Research Corporation, Corn and Sorghum section).

Examples

Run this code
library(ScottKnott)

data(sorghum) 

av <- aov(y ~ r/bl + x,
          data=sorghum$dfm)

sk <- SK(av,
         which='x',
         sig.level=0.05) 

summary(sk)

plot(sk)

Run the code above in your browser using DataLab