openintro (version 2.0.0)

bac: Beer and blood alcohol content

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

bac

Arguments

Format

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

student

a numeric vector

beers

a numeric vector

bac

a numeric vector

Examples

Run this code
# NOT RUN {
library(ggplot2)

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

# }

Run the code above in your browser using DataLab