nh0506: Homocysteine and smoking example data

Description Usage Format Details Source Examples

Description

NHANES 2005-2006 data on smoking and homocysteine levels in adults.

Usage

1

Format

A data frame with 2928 rows and 11 variables:

SEQN

NHANES identification number.

z

smoking status treatment indicator: 1 = daily smoker, 0 = never smoker.

sex

factor with levels "Male" and "Female".

age

age in years, 20-85, with 85 recorded for everyone >= 85 years.

race

factor with levels "Mexican American", "Other Hispanic", "Non-Hispanic White", "Non-Hispanic Black", and "Other Race - Including Multi-Racial".

education

factor with levels "< Grade 9", "9-11th grade", "High school grad/GED", "Some college or AA degree", "College graduate or above".

povertyr

ratio of family income to the poverty level, capped at 5 times poverty, has missing entries.

bmi

BMI (body mass index), has missing entries.

cigsperday30

cigarettes smoked per day, 0 for never smokers.

cotinine

blood cotinine level, a biomarker of recent exposure to tobacco.

homocysteine

homocysteine level.

Details

The code used to generate this data is documented in the source version of this package under 'data-raw/'. This data is composed of adults aged at least 20 years. Individuals who have smoked at least 100 cigarettes but do not now smoke at least 10 cigarettes daily are excluded. Individuals with missing homocysteine values, cotinine values, or smoking information are excluded. After filtering for all these criteria, one individual with unknown education remains and is also excluded. Missing values remain in the poverty ratio and bmi covariates.

Source

https://wwwn.cdc.gov/nchs/nhanes/ContinuousNhanes/Default.aspx?BeginYear=2005

Examples

1
data('nh0506')

natstrat documentation built on Oct. 15, 2021, 5:12 p.m.