Scales: Readings obtained from a 100 pound weight placed on four...

ScalesR Documentation

Readings obtained from a 100 pound weight placed on four brands of bathroom scales

Description

Data for Exercise 1.89

Usage

Scales

Format

A data frame/tibble with 20 observations on two variables

brand

variable indicating brand of bathroom scale (A, B, C, or D)

reading

recorded value (in pounds) of a 100 pound weight

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


boxplot(reading ~ brand, data = Scales, col = rainbow(4), 
ylab = "Weight (lbs)")
## Not run: 
library(ggplot2)
ggplot2::ggplot(data = Scales, aes(x = brand, y = reading, fill = brand)) + 
           geom_boxplot() + 
           labs(y = "weight (lbs)") +
           theme_bw() + 
           theme(legend.position = "none") 

## End(Not run)


BSDA documentation built on Sept. 19, 2023, 1:08 a.m.