Learn R Programming

smbdata (version 0.2.0)

weedseed: Weed seed abundance

Description

An observational study was conducted to explore the relationship between seed production and plant characteristics in rye-grass. Between 17 and 24 samples were collected at each of four study sites (Site: C, L, P, and W). For each sample point, the total number of seeds per square meter (TotalSeed), the average head length in millimeters (HLength), and the average number of spikelets per head (Spikelets) were measured. This dataset facilitates analysis of how head length and spikelet count may influence seed yield across multiple field sites.

Usage

weedseed

Arguments

Format

A data frame with 5 variables: Sample, Site, HLength, Spikelets, TotalSeed.

Sample

Factor. Unique identifier for each sample point.

Site

Factor. Study site where the sample was collected (levels: "C", "L", "P", "W").

HLength

Numeric. Average head length of rye-grass plants at the sampling point (in millimeters, mm).

Spikelets

Numeric. Average number of spikelets per head at the sampling point.

TotalSeed

Integer. Total number of seeds per square meter at the sampling point.

Examples

Run this code
anova(lm(log10(TotalSeed) ~ Site * (HLength + Spikelets) , data = weedseed))

Run the code above in your browser using DataLab