# create an IRT object
irt(rnorm(10), a=c(.8, 1.0, 1.2), b=c(-.5, 0, .5), c=0)
gen.rsp(gen.irt(10, 5)) # generate responses
plot(gen.irt(10, 5)) # plot TCC
plot(gen.irt(10, 5), total=FALSE) # plot ICCs
plot(gen.irt(10, 5), type="information") # plot TIF
plot(gen.irt(10, 5), type="information", total=FALSE) # plot IIFs
Run the code above in your browser using DataLab