nhdat2: A Subset of National Health and Nutrition Examination Survey...

nhdat2R Documentation

A Subset of National Health and Nutrition Examination Survey (NHANES)

Description

The National Health and Nutrition Examination Survey (NHANES) combines in-person interviews and physical examinations to produce a comprehensive data set from a probability sample of residents of the U.S.

This data set is a subset of the NHANES data with 1,933 subjects.

Usage

data(nhdat2)

Format

A data frame with 1933 observations on the following 8 variables.

id

a identification vector specifying cluster ids from largest level to smallest level

chol

a continuous vector of cholesterol level

wcat

a vector of categorized waist and height ratio

icat

an ordinal vector of categorized income level

gender

a binary vector of genders

age

a vector of categorized age

wt

sampling weight within each stratum

str

a numeric vector

Details

The variable chol in this data set is continuous, which the varible chol in the nhdat data set is binomial.

Examples

## Not run: 
data(nhdat2)
summary(nhdat2)

## End(Not run)

csurvey documentation built on Sept. 24, 2023, 1:08 a.m.

Related to nhdat2 in csurvey...