plot.imp {irtoys} | R Documentation |
A plot method for the interaction model
Description
Plot the item-total regressions fit by the interaction (or Rasch) model
Usage
## S3 method for class 'imp'
plot(
x,
items = NULL,
shade = 10,
highlight = -Inf,
add = FALSE,
main = "Item-total regression",
label = FALSE,
...
)
Arguments
x |
An object produced by function |
items |
The items to plot (column numbers). If NULL, all items will be plotted |
shade |
The part of the probability mass for the sum scores to shade out,
shown as percentage. Default is 10: shade the most extreme 10
Ignored when |
highlight |
Cutpoint for the interaction parameter below which a regression line will be highlighted in red. Default is -Inf (do not highlight). |
add |
When |
main |
The main title of the plot, given that |
label |
When |
... |
Any additional plotting parameters |
Author(s)
Ivailo Partchev, using theory and C code by Gunter Maris
See Also
Examples
plot(interactionModel(Scored), highlight=-.3)