Learn R Programming

BSDA (version 1.01)

Smokyph: Water pH levels of 75 water samples taken in the Great Smoky Mountains

Description

Data for Exercises 6.40, 6.59, 7.10, and 7.35

Usage

Smokyph

Arguments

Format

A data frame with 75 observations on the following 5 variables.

waterph

a numeric vector

code

a factor with levels high low

elev

a numeric vector

SRES1

a numeric vector

FITS1

a numeric vector

Examples

Run this code
# NOT RUN {
str(Smokyph)
attach(Smokyph)
t.test(waterph,mu=7)
SIGN.test(waterph,md=7)
tapply(waterph,code,mean)
stripchart(waterph~code,method="stack",pch=19,col=c("red","blue"))
qqnorm(waterph[code=="low"])
qqnorm(waterph[code=="high"])
t.test(waterph[code=="low"],waterph[code=="high"])
t.test(waterph[code=="low"],waterph[code=="high"],conf.level=.90)$conf
detach(Smokyph)
# }

Run the code above in your browser using DataLab