Water | R Documentation |
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.
A data frame with 30 observations on the following 4 variables:
sodium content measured in mg/L
sodium content measured in mg/L
combined sodium content measured in mg/L
a factor with levels X
and Y
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. (2008) Probability and Statistics with R. Chapman & Hall/CRC.
with(data = Water, t.test(X, Y, alternative = "less"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.