cldata: A simulated clustered dataset

cldataR Documentation

A simulated clustered dataset

Description

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

Usage

data(cldata)

Format

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.

Details

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


jomo documentation built on April 15, 2023, 5:07 p.m.

Related to cldata in jomo...