Shows the RMSEA of the S-X2 item-fit statistic for each item and marks
items whose p-value falls below alpha.
Arguments
- x
a model returned by
mirt::mirt().- alpha
significance level for flagging misfit.
- p_adjust
p-value adjustment (see
stats::p.adjust()).
Examples
mod <- mirt(expand.table(LSAT7), 1, verbose = FALSE)
gg_itemfit(mod)