minhanes {miclust} | R Documentation |
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
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
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]])
[Package miclust version 1.2.8 Index]