bac | R Documentation |
Here we examine data from sixteen student volunteers at Ohio State University who each drank a randomly assigned number of cans of beer.
bac
A data frame with 16 observations on the following 3 variables.
a numeric vector
a numeric vector
a numeric vector
J. Malkevitch and L.M. Lesser. For All Practical Purposes: Mathematical Literacy in Today's World. WH Freeman & Co, 2008. The data origin is given in the Electronic Encyclopedia of Statistical Examples and Exercises, 1992.
library(ggplot2)
ggplot(bac, aes(x = beers, y = bac)) +
geom_point() +
labs(x = "Number of beers", y = "Blood alcohol content")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.