R/data-cdc.samp.R

#' cdc.samp
#'
#' A sample of 60 individuals from the 2000 Behavioral Risk Factors Surveillance System
#' (BRFSS) conducted by the US Centers for Disease Control.
#'
#' @name cdc.samp
#' @docType data
#' @format A tibble with 60 rows and 9 variables:
#' \describe{
#'    \item{\code{genhlth}}{Factor with levels \code{excellent}, \code{very good}
#'    \code{good}, \code{fair}, \code{poor}}
#'    \item{\code{exerany}}{Numeric vector; 1 if the respondent exercised in the
#'    past month and 0 otherwise.}
#'    \item{\code{hlthplan}}{Numeric vector; 1 if the respondent has some form
#'    of health coverage and 0 otherwise.}
#'    \item{\code{smoke100}}{Numeric; 1 if the respondent has smoked at least 100
#'    cigarettes in their entire life and 0 otherwise.}
#'    \item{\code{height}}{Numeric; respondent's height in inches.}
#'    \item{\code{weight}}{Numeric;  respondent's weight in pounds.}
#'    \item{\code{wtdesire}}{Numeric; respondent's desired weight in pounds.}
#'    \item{\code{age}}{Numeric;  respondent's age in years.}
#'    \item{\code{gender}}{Factor with two levels \code{m} \code{f}}
#'    }
#' @source("http://www.openintro.org/stat/data/cdc.R")
#'
"cdc.samp"
OpenIntroStat/openintro documentation built on Jan. 2, 2025, 6:15 a.m.