Learn R Programming

BSDA (version 1.2.0)

Gasoline: Price of regular unleaded gasoline obtained from 25 service stations

Description

Data for Exercise 1.45

Usage

Gasoline

Arguments

Format

A data frame/tibble with 25 observations on one variable

price

price for one gallon of gasoline

References

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

Examples

Run this code
# NOT RUN {
stem(Gasoline$price)

# }
# NOT RUN {
library(ggplot2)
ggplot2::ggplot(data = Gasoline, aes(x = factor(1), y = price)) + 
           geom_violin() + 
           geom_jitter() + 
           theme_bw()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab