nh0506_3groups {natstrat} | R Documentation |
Homocysteine and smoking example data with multiple control groups
Description
NHANES 2005-2006 data on smoking and homocysteine levels in adults, comparing daily smokers to never smokers and occasional smokers.
Usage
nh0506_3groups
Format
A data frame with 4457 rows and 11 variables:
- SEQN
NHANES identification number.
- z
smoking status treatment factor: 0 = never smoker, 1 = some smoking, 2 = daily 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, five individuals with unknown education remain and are 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
data('nh0506_3groups')