toydata {mvctm} | R Documentation |
Artificial 4-level data set
Description
A 4-level data set with two responses and two covariates to illustrate the package mvctm. The classroom is nested within the school which is nested within the region.
Usage
data(toydata)
Format
A data frame with 150 observations on the following 7 variables.
y1
The first response
y2
The second response
x1
The first covariate
x2
The second covariate
region
The level 1 cluster (outer)
school
The level 2 cluster (middle)
classroom
The level 3 cluster (inner)
Examples
data(toydata)
[Package mvctm version 1.2 Index]