Learn R Programming

smbdata (version 0.2.0)

competition: Weed competition experiment

Description

This dataset arises from a split-plot experiment designed to assess the competitive effects of different weed species and the impact of irrigation on the grain yield of winter wheat. The experimental design included four blocks (Block), with each block containing two whole plots assigned to either irrigation or no irrigation (Irrigation, WholePlot). Each whole plot was further divided into four subplots (Subplot), where different weed species treatments (none, Am, Ga, Sm; Species) were applied. The measured outcome was grain yield (Grain) in each subplot. The hierarchical, nested structure of the experiment (Block/WholePlot/Subplot) allows for analysis of main effects and interactions of weed species and irrigation, while accounting for variation between blocks and plots.

Usage

competition

Arguments

Format

A data frame with 7 variables: ID, Block, WholePlot, Subplot, Irrigation, Species, Grain.

ID

Factor. Unique identifier for each subplot (observation).

Block

Factor. Block number in the experiment (four blocks in total).

WholePlot

Factor. Identifier for each whole plot within a block (two per block, corresponding to irrigation treatments).

Subplot

Factor. Identifier for each subplot within a whole plot (four per whole plot, corresponding to weed species treatments).

Irrigation

Factor. Irrigation treatment applied to the whole plot ("yes" or "no").

Species

Factor. Weed species sown in each subplot ("-", "Am", "Ga", "Sm"; "-" denotes no weeds).

Grain

Numeric. Grain yield (in appropriate units) measured for each subplot of winter wheat.

Examples

Run this code
fit <- aov(Grain ~ Irrigation * Species + Error(Block/WholePlot/Subplot),
           data = competition)
summary(fit)

Run the code above in your browser using DataLab