-
Notifications
You must be signed in to change notification settings - Fork 177
/
Copy pathdata-cdc.samp.R
26 lines (26 loc) · 1.16 KB
/
data-cdc.samp.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#' 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"