Learn R Programming

statsr (version 0.3.0)

zinc: Zinc Concentration in Water

Description

Trace metals in drinking water affect the flavor and an unusually high concentration can pose a health hazard. Ten pairs of data were taken measuring zinc concentration in bottom water and surface water.

Usage

zinc

Arguments

Format

A data frame with 10 observations on the following 4 variables.

location

sample number

bottom

zinc concentration in bottom water

surface

zinc concentration in surface water

difference

difference between zinc concentration at the bottom and surface

Examples

Run this code
# NOT RUN {
 data(zinc)
 str(zinc)
 plot(bottom ~ surface, data=zinc)
 # use paired t-test to test if difference in means is zero

# }

Run the code above in your browser using DataLab