Water {PASWR}R Documentation

Sodium Content of Water

Description

An independent agency measures the sodium content in 20 samples from source X and in 10 samples from source Y and stores them in data frame Water. Data are used in Example 9.12.

Usage

Water

Format

A data frame with 30 observations on the following 4 variables:

X
sodium content measured in mg/L
Y
sodium content measured in mg/L
Sodium
combined sodium content measured in mg/L
Source
a factor with levels X and Y

Source

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. (2008) Probability and Statistics with R. Chapman & Hall/CRC.

Examples

attach(Water)
t.test(X, Y, alternative="less")
detach(Water)

[Package PASWR version 1.0 Index]