Draws the probability of each response category against ability, as in the single-trait tabs of the Models menu: one coloured line per category with a marker at every ability, a gray line at a probability of 0.5, and a legend in which a click hides or shows a curve.
Arguments
- theta
Numeric vector of abilities.
- probs
Matrix of probabilities, one row for each value of
thetaand one column for each category, as returned byprob_gpcm()and the otherprob_*()functions; the column names label the categories.- title
Title of the plot.
- subtitle
Optional note, shown on a second, smaller line of the title.
- ylab
Title of the vertical axis.