| tldata {jomo} | R Documentation |
A simulated 2-level dataset
Description
A simulated dataset to test 2-level functions, i.e. jomo2com and jomo2hr.
Usage
data(tldata)
Format
A data frame with 1000 observations on the following 6 variables.
measure.aA numeric variable with some measure of interest (unspecified). This is partially observed.
measure.bA numeric variable with some measure of interest (unspecified). This is fully observed.
measure.a2A numeric variable with some level-2 measure of interest (unspecified). This is partially observed.
previous.eventsA binary variable indicating if a patient has previous history of (unspecified) events. Patially observed.
groupA 3-category variable indicating to which group each patient belongs. This is partially observed.
big.cityA binary variable indicating if each city has more than 100000 inhabitants. Patially observed.
regionA 3-category variable indicating to which region each city belongs. This is fully observed.
cityThe cluster indicator vector. 200 cities are indexed 0 to 199.
idThe 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.