A simulated clustered dataset

Share:

Description

A simulated dataset to test functions for imputation of clustered data.

Usage

1
data(cldata)

Format

A data frame with 1000 observations on the following 6 variables.

age

A numeric variable with individual ages. Fully observed.

measure

A numeric variable with some measure of interest (unspecified). This is partially observed.

sex

A binary variable with sex 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.

Details

These are not real data, they are simulated to illustrate the use of the main functions of the package.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.