plot_item_mastery.Rd
This S3 method plots item probabilities for non-masters and masters of an item.
Plot
Plot functions for item response curves: IRT.irfprobPlot
.
if (FALSE) {
#############################################################################
# EXAMPLE 1: Plot item mastery
#############################################################################
data(sim.dina)
data(sim.qmatrix)
#* estimate DINA Model
mod1 <- CDM::din(sim.dina, q.matrix=sim.qmatrix, rule="DINA")
#* estimate GDINA model
mod2 <- CDM::gdina(sim.dina, q.matrix=sim.qmatrix)
#* plots
plot_item_mastery(mod1)
plot_item_mastery(mod2)
}