Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205491

How to add a vertical line to a plot from the "mirt" package?

$
0
0

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.


Viewing all articles
Browse latest Browse all 205491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>