A plot method for item information functions
Useful for plotting item information functions. The x
argument of
iif
should better be left out unless something special is required.
## S3 method for class 'iif' plot(x, add = FALSE, main = "Item information function", co = 1, label = FALSE, ...)
x |
An object produced by function |
add |
When |
main |
The main title of the plot, given that |
co |
The colour of the IIF curve. Default is 1 for black. Use
|
label |
When |
... |
Any additional plotting parameters |
Ivailo Partchev
# plot IIF for all items in red, label with item number plot(iif(Scored2pl), co="red", label=TRUE) # plot IIF for items 2, 3, and 7 in different colours plot(iif(Scored2pl, items=c(2,3,7)), co=NA)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.