cldata | R Documentation |
A simulated dataset to test functions for imputation of clustered data.
data(cldata)
A data frame with 1000 observations on the following 6 variables.
age
A numeric variable with (centered) age. Fully observed.
measure
A numeric variable with some measure of interest (unspecified). This is partially observed.
sex
A binary variable with gender indicator. Fully observed.
social
A 4-category variable with some social status indicator. This is partially observed.
city
The cluster indicator vector. 10 cities are indexed 0 to 9.
id
The id for individuals within each city.
These are not real data, they are simulated to illustrate the use of the main functions of the package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.