Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cldata

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

Multilevel Joint Modelling Multiple Imputation

v2.7-2
GPL-2
Authors
Matteo Quartagno, James Carpenter
Initial release
2020-08-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.