tldata: A simulated 2-level dataset

Description Usage Format Details

Description

A simulated dataset to test 2-level functions, i.e. jomo2com and jomo2hr.

Usage

1

Format

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

measure.a

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

measure.b

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

measure.a2

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

previous.events

A binary variable indicating if a patient has previous history of (unspecified) events. Patially observed.

group

A 3-category variable indicating to which group each patient belongs. This is partially observed.

big.city

A binary variable indicating if each city has more than 100000 inhabitants. Patially observed.

region

A 3-category variable indicating to which region each city belongs. This is fully observed.

city

The cluster indicator vector. 200 cities are indexed 0 to 199.

id

The id for each individual 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 May 19, 2017, 6:58 a.m.

Search within the jomo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.