Learn R Programming

pesticides (version 0.1)

pepper: Pesticide residue data for sweet peppers

Description

Pesticide residues for sweet peppers from the National Food Administration of Sweden.

Usage

data(pepper)

Arguments

Format

A data frame with 166 observations on the following 6 variables.
gp
Group or composite number.
color
The color of the pepper.
comp
Corresponding composite residue measurement.
ss
Single item residue measurement.
lod
Minimum level of detection.
items
Number of items in the corresponding composite.

Source

National Food Administration of Sweden. A description of the data is in .

Details

Residues were measured for all individual peppers in this data set. This data is especially unique -- and ideal -- in that all single items within the composites were measured.

Examples

Run this code
data(pepper)
r  <- cor(pepper$comp, pepper$ss)
g  <- lm(comp ~ ss, pepper)
n  <- mean(pepper$items)
cor2icc(r, n, "within")
plot(pepper$ss, pepper$comp)
abline(g)

Run the code above in your browser using DataLab