plotCqHist {conquestr} | R Documentation |
plotCqHist
Description
generates a plot from a history object.
Use getCqHist
to create a history object from an 'ACER ConQuest' system file.
Usage
plotCqHist(
myHist,
centre = TRUE,
params = c("all"),
legend = FALSE,
plotProblems = NULL
)
Arguments
myHist |
an R object created by the |
centre |
a Boolean representing whether the iteration history should be mean centred (within parameter). This is helpful for plots that include all parameters to ensure the Y axis is sensible. Consider, for example, the readability of a plot with raw values of the Likelihood and item parameters on it. |
params |
A string of which params to plot. Must be one or more of "all", "Likelihood", "Beta", Variance", "Xsi", "Tau". Note the match when using "Beta", Variance", "Xsi", "Tau" is by regular expression, so "Xsi1" will plot item location parameter 1, 10-19, 100-199 and so on. |
legend |
Should a legend be plotted? |
plotProblems |
an optional list defining which potential problem parameters to plot.
|
Value
A ggplot2 object.
Examples
## Not run:
myHistPlot <- plotCqHist(getCqHist(ConQuestSys()))
## End(Not run)