NCBirths2004.csv

This is one of the case studies from Chapter 1 of the textbook (pp. 2-3). You may load it from the URL linked above or the resampledata package.

library(resampledata)
library(tidyverse)
glimpse(NCBirths2004)
Rows: 1,009
Columns: 8
$ ID         <int> 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, …
$ MothersAge <fct> 30-34, 30-34, 35-39, 20-24, 25-29, 35-39, 20-24, 20-24, 20-…
$ Tobacco    <fct> No, No, No, No, No, No, No, No, No, No, No, Yes, No, No, No…
$ Alcohol    <fct> No, No, No, No, No, No, No, No, No, No, No, No, No, No, No,…
$ Gender     <fct> Male, Male, Female, Female, Male, Female, Female, Male, Mal…
$ Weight     <int> 3827, 3629, 3062, 3430, 3827, 3119, 3260, 3969, 3175, 3005,…
$ Gestation  <int> 40, 38, 37, 39, 38, 39, 40, 40, 39, 39, 41, 39, 38, 39, 37,…
$ Smoker     <fct> No, No, No, No, No, No, No, No, No, No, No, Yes, No, No, No…