Learn R Programming

mice (version 2.7)

nhanes: NHANES example - all variables numerical

Description

A small data set with non-monotone missing values.

Usage

data(nhanes)

Arguments

source

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

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.

See Also

nhanes2

Examples

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

Run the code above in your browser using DataLab