Basic 1 dimensional plots

This template is suitable for plotting a single group of 1 dimensional items. Refer to the Rmd source code to see how to adapt this template to your project.

Load data

Normally you would obtain model parameters from OpenMx (or flexMIRT with flexmirt.read), but here are some inline parameters for demonstration purposes.

small <- structure(list(param = structure(c(1, 1, 0, 0, -0.5789195, -2.412259,  -1.3471789, 1, 1, 0, 0, 1.0983234, -2.0991327, -2.9482965, 1,  1, 0, 0, 0.4078264, -0.9824549, -1.5905594, 1, 1, 0, 0, -1.0650001,  -0.2100243, -3.2034577), .Dim = c(7L, 4L), .Dimnames = list(NULL,      c("X2", "X6", "X7", "X10"))), mean = 0, cov = structure(9.8238066, .Dim = c(1L,  1L))), .Names = c("param", "mean", "cov"))
small$spec <- list()
small$spec[1:4] <- rpf.nrm(outcomes=4, T.c= lower.tri(diag(3),TRUE) * -1)
## Warning in `[<-`(`*tmp*`, 1:4, value = list(<S4 object of class
## structure("rpf.mdim.nrm", package = "rpf")>, : implicit list embedding of
## S4 objects is deprecated

Item characteristic curve plots

plot of chunk unnamed-chunk-3

Item information curve plots

plot of chunk unnamed-chunk-4

Whole test plots

plot of chunk unnamed-chunk-5