Learn R Programming

PASWR (version 1.3)

Water: 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.

Arguments

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

Examples

Run this code
# NOT RUN {
with(data = Water,
t.test(X, Y, alternative = "less"))

# }

Run the code above in your browser using DataLab