Learn R Programming

smbdata (version 0.2.0)

lupin: Lupin trial

Description

An experiment was conducted to examine the effects of soil type and water availability on the growth of lupin plants grown individually in pots. To control for possible gradients due to temperature and light, the pots were arranged in a square grid and a Latin square design was used, treating rows and columnsas crossed blocking factors. Treatments followed a 2 × 2 factorial structure, combining two soil types (Soil: clay [C] or sand [S]) and two water supply levels (Water: low [L] or high [H]). Each treatment combination was applied to a group of pots. Plant height (cm) was recorded for each pot at the end of the experiment, allowing assessment of both main and interaction effects of soil type and water availability on lupin growth.

Usage

lupin

Arguments

Format

A data frame with 7 variables: ID, Row, Column, Treatment, Water, Soil, Height.

ID

Factor. Unique identifier for each pot (experimental unit).

Row

Factor. Row position of the pot in the Latin Square grid.

Column

Factor. Column position of the pot in the Latin Square grid.

Treatment

Factor. Combined treatment label for soil type and water supply (e.g., "CH", "CL", "SH", "SL").

Water

Factor. Water supply level applied to the pot: "L" (low) or "H" (high).

Soil

Factor. Soil type: "C" (clay) or "S" (sand).

Height

Numeric. Height (in centimeters) of the lupin plant at the end of the experiment.

Examples

Run this code
anova(lm(Height ~ Row + Column + Treatment, data = lupin))

Run the code above in your browser using DataLab