I used the mirt
package to create an item information plot.
library(mirt)
model <- mirt(data, 1, itemtype = '2PL')
plot(model, type = 'infotrace', facet_items = FALSE)
I try to add a vertical line to the plot at x = 1.
However, the function abline(v = 1)
does not work.