Learn R Programming

mice (version 2.7)

nhanes2: NHANES example - mixed numerical and discrete variables

Description

A small data set with non-monotone missing values.

Usage

data(nhanes2)

Arguments

source

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

Details

A small data set with missing data and mixed numerical and discrete variables. The data set nhanes is the same data set, but with all data treated as numerical.

See Also

nhanes

Examples

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

Run the code above in your browser using DataLab