R/newborn.R

#' NHANES III (1988-1994) newborn data
#'
#' This dataset is extracted from the NHANES III (1988-1994) for the age class \code{Newborn (under 1 year)}. Please note that this example dataset only contains selected variables and is for demonstration purposes only.
#' @docType  data
#' @usage data(newborn)
#' @format A data frame of 2107 rows and 16 variables, adapted from the NHANES III dataset. Nine variables contain missing values. Variable names and factor levels have been renamed for clarity and easier interpretation.
#' \describe{
#'  \item{household_size}{Household size. An integer variable ranging from 1 to 10. The original variable name in the NHANES III dataset is \code{HSHSIZER}.}
#'  \item{age_months}{Age at interview (screener), in months. An integer variable ranging from 2 to 11. The original variable name in the NHANES III dataset is \code{HSAGEIR}.}
#'  \item{sex}{Sex of the subject. A factor variable with levels \code{Male} and \code{Female}. The original variable name in the NHANES III dataset is \code{HSSEX}.}
#'  \item{race}{Race of the subject. A factor variable with levels \code{White}, \code{Black}, and \code{Other}. The original variable name in the NHANES III dataset is \code{DMARACER}.}
#'  \item{ethnicity}{Ethnicity of the subject. A factor variable with levels \code{Mexican-American}, \code{Other Hispanic}, and \code{Not Hispanic}. The original variable name in the NHANES III dataset is \code{DMAETHNR}.}
#'  \item{race_ethinicity}{Combined race–ethnicity classification. A factor variable with levels \code{Non-Hispanic White}, \code{Non-Hispanic Black}, \code{Mexican-American}, and \code{Other}. The original variable name in the NHANES III dataset is \code{DMARETHN}.}
#'  \item{head_circumference_cm}{Head circumference, in centimetres. Numeric. The original variable name in the NHANES III dataset is \code{BMPHEAD}.}
#'  \item{recumbent_length_cm}{Recumbent length, in centimetres. Numeric. The original variable name in the NHANES III dataset is \code{BMPRECUM}.}
#'  \item{first_subscapular_skinfold_mm}{First subscapular skinfold thickness, in millimetres. Numeric. The original variable name in the NHANES III dataset is \code{BMPSB1}.}
#'  \item{second_subscapular_skinfold_mm}{Second subscapular skinfold thickness, in millimetres. Numeric. The original variable name in the NHANES III dataset is \code{BMPSB2}.}
#'  \item{first_triceps_skinfold_mm}{First triceps skinfold thickness, in millimetres. Numeric. The original variable name in the NHANES III dataset is \code{BMPTR1}.}
#'  \item{second_triceps_skinfold_mm}{Second triceps skinfold thickness, in millimetres. Numeric. The original variable name in the NHANES III dataset is \code{BMPTR2}.}
#'  \item{weight_kg}{Body weight, in kilograms. Numeric. The original variable name in the NHANES III dataset is \code{BMPWT}.}
#'  \item{poverty_income_ratio}{Poverty income ratio. Numeric. The original variable name in the NHANES III dataset is \code{DMPPIR}.}
#'  \item{smoke}{Whether anyone living in the household smokes cigarettes inside the home. A factor variable with levels \code{Yes} and \code{No}. The original variable name in the NHANES III dataset is \code{HFF1}.}
#'  \item{health}{General health status of the subject. An ordered factor with levels \code{Excellent}, \code{Very Good}, \code{Good}, \code{Fair}, and \code{Poor}. The original variable name in the NHANES III dataset is \code{HYD1}.}
#' }
#'
#' @references U.S. Department of Health and Human Services
#' (DHHS).  National Center for Health Statistics.  Third National
#' Health and Nutrition Examination Survey (NHANES III, 1988-1994):
#' Multiply Imputed Data Set. CD-ROM, Series 11, No. 7A.
#' Hyattsville, MD: Centers for Disease Control and Prevention,
#' 2001. Includes access software: Adobe Systems, Inc. Acrobat
#' Reader version 4.
#' @source \url{https://wwwn.cdc.gov/nchs/nhanes/nhanes3/datafiles.aspx}
"newborn"

Try the mixgb package in your browser

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

mixgb documentation built on Jan. 17, 2026, 5:07 p.m.