Learn R Programming

irtrees (version 1.0.0)

linlat: Example Data: Sequential-Order Latent Variable Models

Description

Simulated example data set for a model with sequential-order latent variable models.

Arguments

Format

An IRT response matrix with 300 persons and 30 binary 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(linlat)
str(linlatT <- exogenize(linlat, 
	cbind(c(1,0,0), c(1,1,0), c(0,1,0), c(0,1,1), c(0,0,1)),
    endnode = rep(1:3, each=10), cross = rep(1:10, 3)))
# }

Run the code above in your browser using DataLab