-
Notifications
You must be signed in to change notification settings - Fork 110
/
Copy pathnhanes2.Rd
37 lines (36 loc) · 985 Bytes
/
nhanes2.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nhanes2.R
\docType{data}
\name{nhanes2}
\alias{nhanes2}
\title{NHANES example - mixed numerical and discrete variables}
\format{
A data frame with 25 observations on the following 4 variables.
\describe{
\item{age}{Age group (1=20-39, 2=40-59, 3=60+)}
\item{bmi}{Body mass index (kg/m**2)}
\item{hyp}{Hypertensive (1=no,2=yes)}
\item{chl}{Total serum cholesterol (mg/dL)} }
}
\source{
Schafer, J.L. (1997). \emph{Analysis of Incomplete Multivariate
Data.} London: Chapman & Hall. Table 6.14.
}
\description{
A small data set with non-monotone missing values.
}
\details{
A small data set with missing data and mixed numerical and discrete
variables. The data set \code{nhanes} is the same data set, but with all data
treated as numerical.
}
\examples{
# create 5 imputed data sets
imp <- mice(nhanes2)
# print the first imputed data set
complete(imp)
}
\seealso{
\code{\link{nhanes}}
}
\keyword{datasets}