R: NHANES example - all variables numerical

nhanes {mice} | R Documentation

## NHANES example - all variables numerical

### Description

A small data set with non-monotone missing values.

### Format

A data frame with 25 observations on the following 4 variables.

age

  Age group (1=20-39, 2=40-59, 3=60+)

bmi

  Body mass index (kg/m**2)

hyp

  Hypertensive (1=no,2=yes)

chl

  Total serum cholesterol (mg/dL)

### Details

A small data set with all numerical variables. The data set `nhanes2` is the same data set, but with `age` and `hyp` treated as factors.

### Source

Schafer, J.L. (1997). Analysis of Incomplete Multivariate Data. London: Chapman & Hall. Table 6.14.

### See Also

`nhanes2`

### Examples

    imp <- mice(nhanes)     # create 5 imputed data sets
    complete(imp)           # print the first imputed data set

[Package mice version 3.8.0 Index]