R/data.R

#' Simple body fat example data
#'
#'
#'
#' @format ## `body_fat`
#' A data frame with 12 rows and 9 columns:
#' \describe{
#'   \item{Subject}{Subject ID}
#'   \item{group}{group}
#'   \item{Weight_kg}{weight}
#'   \item{Height_cm}{height}
#'   \item{Age}{age}
#'   \item{pct_body_fat}{percent body fat}
#'   \item{survey_wt}{survey weight}
#'   \item{stratum}{stratum}
#'   \item{cluster}{cluster}
#'
#' }
"body_fat"

#' Nhanes example
#'
#'
#'
#' @format ## `nhanes.demo`
#' A data frame with 6230 rows and 9 columns:
#' \describe{
#'   \item{SEQN}{Respondent sequence number}
#'   \item{SDMVPSU}{Masked variance pseudo-PSU}
#'   \item{SDMVSTRA}{Masked variance pseudo-stratum}
#'   \item{WTMEC2YR}{Full sample 2 year MEC exam weight}
#'   \item{BMXHT}{Standing height (cm)}
#'   \item{BMXWT}{Weight (kg)}
#'   \item{BMXBMI}{Body maxx index (kg/m**2)}
#'   \item{BPXSY1}{Systolic blood pressure}
#'   \item{BPXDI1}{Diastolic blood pressure}
#'
#' }
"nhanes.demo"

Try the surveynnet package in your browser

Any scripts or data that you put into this service are public.

surveynnet documentation built on April 3, 2025, 7:38 p.m.