R/nc.R

#' North Carolina births
#'
#' In 2004, the state of North Carolina released a large data set containing 
#' information on births recorded in this state. This data set is useful to 
#' researchers studying the relation between habits and practices of expectant 
#' mothers and the birth of their children. We will work with a random sample of 
#' observations from this data set.
#'
#' @format A tbl_df with 1000 rows and 13 variables:
#' \describe{
#'   \item{fage}{father's age in years}
#'   \item{mage}{mother's age in years}
#'   \item{mature}{maturity status of mother}
#'   \item{weeks}{length of pregnancy in weeks}
#'   \item{premie}{whether the birth was classified as premature (premie) or full-term}
#'   \item{visits}{number of hospital visits during pregnancy}
#'   \item{marital}{whether mother is `married` or `not married` at birth}
#'   \item{gained}{weight gained by mother during pregnancy in pounds}
#'   \item{weight}{weight of the baby at birth in pounds}
#'   \item{lowbirthweight}{whether baby was classified as low birthweight (`low`) or not (`not low`)}
#'   \item{gender}{gender of the baby, `female` or `male`}
#'   \item{habit}{status of the mother as a `nonsmoker` or a `smoker`}
#'   \item{whitemom}{whether mom is `white` or `not white`}
#' }
#' @source State of North Carolina.
"nc"
andrewpbray/reed-oilabs documentation built on April 8, 2020, 2:26 a.m.