minhanes: Multiple imputation for nhanes data.

Description Usage Format Source Examples

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

1

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)

Source

https://CRAN.R-project.org/package=mice

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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]])

miclust documentation built on Feb. 8, 2022, 1:06 a.m.