NHANES {hexbin}R Documentation

NHANES Data : National Health and Nutrition Examination Survey

Description

This is a somewhat large interesting dataset, a data frame of 15 variables (columns) on 9575 persons (rows).

Usage

data(NHANES)

Format

This data frame contains the following columns:

Cancer.Incidence
binary factor with levels No and Yes.
Cancer.Death
binary factor with levels No and Yes.
Age
numeric vector giving age of the person in years.
Smoke
a factor with levels Current, Past, Nonsmoker, and Unknown.
Ed
numeric vector of {0,1} codes giving the education level.
Race
numeric vector of {0,1} codes giving the person's race.
Weight
numeric vector giving the weight in kilograms
BMI
numeric vector giving Body Mass Index, i.e., Weight/Height^2 where Height is in meters, and missings (61% !) are coded as 0 originally.
Diet.Iron
numeric giving Dietary iron.
Albumin
numeric giving albumin level in g/l.
Serum.Iron
numeric giving Serum iron in ug/l.
TIBC
numeric giving Total Iron Binding Capacity in ug/l.
Transferin
numeric giving Transferin Saturation which is just 100*serum.iron/TIBC.
Hemoglobin
numeric giving Hemoglobin level.
Sex
a factor with levels F (female) and M (male).

Source

unknown

References

Examples

data(NHANES)
summary(NHANES)
## Missing Data overview :
nNA <- sapply(NHANES, function(x)sum(is.na(x)))
cbind(nNA[nNA > 0])
# Which are just these 6 :
## Not run: 
Diet.Iron         141
Albumin           252
Serum.Iron       1008
TIBC              853
Transferin       1019
Hemoglobin        759
## End(Not run)

[Package hexbin version 1.0.10 Index]