Outputs a figure consisting of three figures with the same scale on top of each other. At the top is a histogram of Person Locations, with a dotted line and gray field indicating mean/SD. In the middle is a similar histogram with Item Thresholds. At the bottom is a figure showing the individual item thresholds as dots.
Usage
RItargeting(dfin, model = "PCM", xlim = c(-4, 4), output = "figure", bins = 30)
Details
The figure is made up from three figures using library(patchwork). If desired, you can output the three figures to a list object instead of a single figure. This allows you to modify each figure (change theming, colors, etc). You can put together the three figures into one using patchwork:
list$p1 / list$p2 / list$p3 + plot_layout(heights = c(1, 1, 1.4))