| 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.
y1The first response
y2The second response
x1The first covariate
x2The second covariate
regionThe level 1 cluster (outer)
schoolThe level 2 cluster (middle)
classroomThe level 3 cluster (inner)
Examples
data(toydata)
[Package mvctm version 1.2 Index]