Learn R Programming

irtrees (version 1.0.0)

nesresp: Example Data: Nested Hierarchical Latent Variables

Description

Simulated example data set with nested hierarchical categories.

Usage

data(nesresp)

Arguments

Format

An IRT response matrix with 300 persons and 10 four-category items.

References

De Boeck, P. and Partchev, I. (2012). IRTrees: Tree-Based Item Response Models of the GLMM Family, Journal of Statistical Software -- Code Snippets, 48(1), 1--28. https://www.jstatsoft.org/v48/c01/.

Examples

Run this code
# NOT RUN {
str(nesresp)
head(nesresp)
str(nesrespT <-
    dendrify(nesresp, cbind(c(0,0,1,1), c(0,1,NA,NA), c(NA,NA,0,1))))
head(nesrespT, 20)
# }

Run the code above in your browser using DataLab