Usage
itemFitPlot(raschResult, itemSet, useItemNames = TRUE, fitStat = "infit", plotTitle="Item Fit Plot", xlab, ylab, xlim, ylim, refLines, col = c("black","white"), colTheme, gDevice, file)
Arguments
raschResult
A mixRasch object, where n.c = 1 (i.e., no mixture models).
itemSet
An optional vector of item names or item positions for plotting subsets of items.
useItemNames
If TRUE, then item names are used. If false item numbers are used.
fitStat
The item fit statistic ("infit", "outfit", "in.Z", "out.Z") used in the plot.
plotTitle
Controls the main plot title.
xlab
The label for the x axis.
ylab
The label for the y axis.
xlim
A vector overriding default limits for the x axis.
ylim
A vector overriding default limits for the y axis.
refLines
A vector overriding the default lower and upper reference lines that define the region of rejection.
col
A vector of the colors to be used in the plot. The first color will be used for item labels. The second color will be used for shading the area of rejection.
colTheme
Four color themes ("cavaliers", "dukes", "spartans", "greys") are provided. If you provide a color theme, it will override the col paramater.
gDevice
Controls graphics device. Options are "screen" (default), "jpg", or "png".
file
The name of the output file if a device other than "screen" is chosen.