Item characteristic (trace) curves
Arguments
- x
a unidimensional model returned by
mirt::mirt().- which.items
items to plot, by position or name. Defaults to all.
- type
"prob"for category probability curves or"expected"for the expected item score.- facet
logical; one panel per item. If
FALSEall items share one panel (only sensible fortype = "expected"or dichotomous items).- theta_lim
range of the latent trait.
Examples
mod <- mirt(expand.table(LSAT7), 1, verbose = FALSE)
gg_trace(mod)
gg_trace(mod, facet = FALSE)