Usage
personItemPlot(raschResult, nBreaks=15, plotTitle="Person Item Histogram", xlab = "Relative Frequency", ylab = "Ability", col = c("darkgrey","lightgrey"), colTheme, makeLegend=TRUE, legendLabels=c("items", "people"), legendLoc="bottomleft", gDevice, file)
Arguments
raschResult
A mixRasch object, where n.c = 1 (i.e., no mixture models).
nBreaks
The number of bins to be used in creating the histograms.
plotTitle
The title to be used on the plot.
xlab
The label for the x axis.
ylab
The label for the y axis.
col
A vector of the colors to be used in the plot. The first color will be used for items. The second color will be used for people.
colTheme
Four color themes ("cavaliers", "dukes", "spartans", "greys") are provided. If you provide a color theme, it will override the col paramater.
makeLegend
Controls whether a legend for the is colors used in the plot.
legendLabels
A vector that allows for customized legend labels.
legendLoc
Allows placement of the legend in different location. Uses the same discriptions as the standard legend function.
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.