Learn R Programming

miclust (version 1.2.8)

minhanes: Multiple imputation for nhanes data.

Description

A list with 101 data sets. The first data set contains nhanes data from mice package. The remaining data sets were obtained by applying the multiple imputation function mice from package mice.

Usage

minhanes

Arguments

Format

A list of 101 data.frames each of them with 25 observations of the following 4 variables:

age

age group (1 = 20-39, 2 = 40-59, 3 = 60+). Treated as numerical.

bmi

body mass index (kg/m\(^2\))

hyp

hypertensive (1 = no, 2 = yes). Treated as numerical.

chl

total serum cholesterol (mg/dL)

Examples

Run this code
# NOT RUN {
data(minhanes)
### raw data:
minhanes[[1]]
summary(minhanes[[1]])

### number of imputed data sets:
length(minhanes) - 1

### first imputed data set:
minhanes[[2]]
summary(minhanes[[2]])
# }

Run the code above in your browser using DataLab