nhanes2 | R Documentation |
A small data set with non-monotone missing values.
A data frame with 25 observations on the following 4 variables.
Age group (1=20-39, 2=40-59, 3=60+)
Body mass index (kg/m**2)
Hypertensive (1=no,2=yes)
Total serum cholesterol (mg/dL)
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.
Schafer, J.L. (1997). Analysis of Incomplete Multivariate Data. London: Chapman & Hall. Table 6.14.
nhanes
# create 5 imputed data sets
imp <- mice(nhanes2)
# print the first imputed data set
complete(imp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.