bac: Beer and blood alcohol content

Description Usage Format Source Examples

Description

Here we examine data from sixteen student volunteers at Ohio State University who each drank a randomly assigned number of cans of beer.

Usage

1

Format

A data frame with 16 observations on the following 3 variables.

student

a numeric vector

beers

a numeric vector

bac

a numeric vector

Source

J. Malkevitch and L.M. Lesser. For All Practical Purposes: Mathematical Literacy in Today's World. WH Freeman & Co, 2008.

Examples

1
2
3
4
5
library(ggplot2)

ggplot(bac, aes(x = beers, y = bac)) +
  geom_point() +
  labs(x = "Number of beers", y = "Blood alcohol content")

tessington/qsci381 documentation built on Sept. 26, 2020, 12:40 p.m.